diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs b/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs index 371a8e954d751..3fd1aec644980 100644 --- a/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs +++ b/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs @@ -132,7 +132,7 @@ public static void RegisterProxyExitState(string id, RunLoopExitState status) s_statusTable[id] = status; // we have the explicit state now, so we can drop the reference // to the proxy - s_proxyTable.TryRemove(id, out WeakReference _); + s_proxyTable.TryRemove(id, out _); if (s_exitHandlers.TryRemove(intId, out WeakReference>? handlerRef) && handlerRef.TryGetTarget(out Action? handler))