Mark some CultureInfo methods as public
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 21 Sep 2016 21:10:44 +0000 (14:10 -0700)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 21 Sep 2016 21:10:44 +0000 (14:10 -0700)
We are exposing such APIs now so we need them to be public

src/mscorlib/corefx/System/Globalization/CultureInfo.cs

index f2b3742..2275dd2 100644 (file)
@@ -189,7 +189,7 @@ namespace System.Globalization
         }
 
 
-        internal CultureInfo(String name, bool useUserOverride)
+        public CultureInfo(String name, bool useUserOverride)
         {
             if (name == null)
             {
@@ -1123,7 +1123,7 @@ namespace System.Globalization
 
         // Gets a cached copy of the specified culture from an internal hashtable (or creates it
         // if not found).  (Named version)
-        internal static CultureInfo GetCultureInfo(string name)
+        public static CultureInfo GetCultureInfo(string name)
         {
             // Make sure we have a valid, non-zero length string as name
             if (name == null)