23 references to HasAspNetHostingPermission
System.Web (23)
Configuration\WebConfigurationHost.cs (1)
731return HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Unrestricted);
DataAccess\SqlConnectionHelper.cs (1)
184if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.High))
ErrorFormatter.cs (6)
499if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 961!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 1656if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 1714if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 1746if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 1762HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) {
HttpRequest.cs (2)
2011if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low)) 2273if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low))
HttpResponse.cs (1)
1213HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) {
HttpRuntime.cs (2)
2713if (!HasAspNetHostingPermission(level)) { 2751if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Unrestricted))
Profile\HttpProfileBase.cs (1)
391bool hasLowTrust = HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low);
Profile\ProfileManager.cs (1)
333s_Enabled = config.Enabled && HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low);
Security\Roles.cs (1)
68if (HostingEnvironment.IsHosted && !HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low))
State\SessionStateModule.cs (1)
252return HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium);
UI\PageParser.cs (3)
367if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 477if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) { 625if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) {
UI\SimpleWebHandlerParser.cs (1)
311!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) {
UI\TemplateParser.cs (1)
1905if (flags[debug] && !HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Medium)) {
UI\ViewStateException.cs (1)
62!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low)) {