Fix ProjectN build break (dotnet/corertdotnet/coreclr#3517)
authorJan Kotas <jkotas@microsoft.com>
Thu, 4 May 2017 19:37:39 +0000 (12:37 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 4 May 2017 21:33:20 +0000 (14:33 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/3c17dbc325de61c7899af9d9f019e6d0f561fd19

src/coreclr/src/mscorlib/shared/System/Resources/RuntimeResourceSet.cs

index a214050..41d7541 100644 (file)
@@ -161,7 +161,12 @@ namespace System.Resources
     // into smaller chunks, each of size sqrt(n), would be substantially better for
     // resource files containing thousands of resources.
     // 
-    internal sealed class RuntimeResourceSet : ResourceSet, IEnumerable
+#if CORECLR
+    internal
+#else
+    public  // On CoreRT, this must be public because of need to whitelist past the ReflectionBlock.
+#endif
+    sealed class RuntimeResourceSet : ResourceSet, IEnumerable
     {
         internal const int Version = 2;            // File format version number