Revert access modifier change and update its comment
authorViktor Hofer <viktor.hofer@outlook.com>
Thu, 7 Sep 2017 23:12:19 +0000 (01:12 +0200)
committerViktor Hofer <viktor.hofer@outlook.com>
Thu, 7 Sep 2017 23:12:19 +0000 (01:12 +0200)
src/mscorlib/shared/System/UnitySerializationHolder.cs

index 557a25cc808bdf702dc5e05b3efe8587a24ea6db..ffa5dd2c856f2599c19ab33980b786dfc68e5a11 100644 (file)
@@ -11,7 +11,12 @@ namespace System
     /// Holds Null class for which we guarantee that there is only ever one instance of.
     /// This only exists for backwarts compatibility with 
     /// </summary>
-    internal sealed class UnitySerializationHolder : ISerializable, IObjectReference
+#if CORECLR
+    internal
+#else
+    public  // On CoreRT this must be public.
+#endif
+    sealed class UnitySerializationHolder : ISerializable, IObjectReference
     {
         internal const int NullUnity = 0x0002;