2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Thu, 1 Dec 2005 03:18:38 +0000 (03:18 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Thu, 1 Dec 2005 03:18:38 +0000 (03:18 -0000)
* SimpleCollator.cs: Fix CAS support. The static ctor/var try to get
the environment variable MUCH too soon (i.e. the security manager
needs the collator).

svn path=/trunk/mcs/; revision=53744

mcs/class/corlib/Mono.Globalization.Unicode/ChangeLog
mcs/class/corlib/Mono.Globalization.Unicode/SimpleCollator.cs

index 43fbaae09ddde7bad1822e6cd91e50bba38b1722..ede71ae1a2d1da53cf9439cfb5a333c34b458338 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SimpleCollator.cs: Fix CAS support. The static ctor/var try to get 
+       the environment variable MUCH too soon (i.e. the security manager 
+       needs the collator).
+
 2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>
 
        * SimpleCollator.cs : direct fast-path optimization for IndexOf().
index aef2b2ea6fb4109eb4df06ec5ab358282bf7ef51..a907ca9b24314a18dc42b53d744699afe40f7a19 100644 (file)
@@ -79,7 +79,7 @@ namespace Mono.Globalization.Unicode
        {
                // this environment variable is for debugging quick check.
                static bool QuickCheckDisabled =
-                       Environment.GetEnvironmentVariable (
+                       Environment.internalGetEnvironmentVariable (
                        "MONO_COLLATION_QUICK_CHECK_DISABLED") == "yes";
 
                unsafe internal struct Context