Fix CoreRT build breaks - Adjust resource name - Workaround C# compiler/analyzer bug
authorJan Kotas <jkotas@microsoft.com>
Tue, 12 Feb 2019 06:33:34 +0000 (22:33 -0800)
committerJan Kotas <jkotas@microsoft.com>
Tue, 12 Feb 2019 23:46:37 +0000 (15:46 -0800)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/9d85a643eb32d57188ab1805998dc9a9d6978f8a

src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/ConditionalWeakTable.cs

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