diff --git a/Net3-Proxy/CompilerServices.cs b/Net3-Proxy/CompilerServices.cs index a827fd37..5ef760f5 100644 --- a/Net3-Proxy/CompilerServices.cs +++ b/Net3-Proxy/CompilerServices.cs @@ -80,7 +80,7 @@ namespace System.Runtime.CompilerServices if (key == null) throw new ArgumentException("Null key", nameof(key)); - items.Remove(WeakRef(key)); + return items.Remove(WeakRef(key)); } public ConditionalWeakTable()