Merge pull request #1275 from ranma42/fix-lib64
[mono.git] / mcs / class / System.Web / System.Web.Security / FormsAuthenticationModule.cs
index 36df0226cd97e53edc1420130505175e20667b31..cab57fea2f2ff83ab4b858d4e5947ac9b7c4d058 100644 (file)
@@ -120,7 +120,7 @@ namespace System.Web.Security
                                loginPath = context.Request.MapPath (loginPage);
                        } catch {} // ignore
 
-                       context.SkipAuthorization = String.Compare (reqPath, loginPath, HttpRuntime.CaseInsensitive, Helpers.InvariantCulture) == 0;
+                       context.SkipAuthorization = String.Compare (reqPath, loginPath, RuntimeHelpers.CaseInsensitive, Helpers.InvariantCulture) == 0;
                        
 #if NET_2_0
                        //TODO: need to check that the handler is System.Web.Handlers.AssemblyResourceLoader type