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