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