Fix visibility on Exception.InnerExceptionPrefix (#25278)
authorStephen Toub <stoub@microsoft.com>
Thu, 20 Jun 2019 16:27:21 +0000 (12:27 -0400)
committerJan Kotas <jkotas@microsoft.com>
Thu, 20 Jun 2019 16:27:21 +0000 (09:27 -0700)
src/System.Private.CoreLib/shared/System/Exception.cs

index 30b808d..cb13645 100644 (file)
@@ -11,7 +11,7 @@ namespace System
     [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
     public partial class Exception : ISerializable
     {
-        internal protected const string InnerExceptionPrefix = " ---> ";
+        private protected const string InnerExceptionPrefix = " ---> ";
 
         public Exception()
         {