12 references to TrustLevel
System.Web (12)
Compilation\BuildManager.cs (1)
153if (HttpRuntime.TrustLevel == null)
Configuration\CompilationSection.cs (2)
719System.Web.Util.Debug.Assert(HttpRuntime.TrustLevel != null); 764System.Web.Util.Debug.Assert(HttpRuntime.TrustLevel != null);
HttpRuntime.cs (8)
2469return !HostingEnvironment.IsHosted || TrustLevel != null; 2544if (TrustLevel == null && InitializationException != null) { 2549Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted, "TrustLevel != null || !HostingEnvironment.IsHosted"); 2580Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2607Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2631if (TrustLevel == null && InitializationException != null) { 2636Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2679Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted);
Management\WebEvents.cs (1)
1877_trustLevel = HttpRuntime.TrustLevel;