Преглед на файлове

Fix CoreRT build breaks - Adjust resource name - Workaround C# compiler/analyzer bug

Signed-off-by: dotnet-bot <[email protected]>
Jan Kotas преди 6 години
родител
ревизия
781bebfdcb
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs

+ 4 - 1
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs

@@ -286,7 +286,10 @@ namespace System.Runtime.CompilerServices
                 _currentIndex = -1;
             }
 
-            ~Enumerator() => Dispose();
+            ~Enumerator()
+            {
+                Dispose();
+            }
 
             public void Dispose()
             {