17 instantiations of AspNetHostingPermission
System (7)
compmod\system\security\permissions\AspNetHostingPermission.cs (7)
50
return new
AspNetHostingPermission
(PermissionState.Unrestricted);
53
return new
AspNetHostingPermission
(_level);
136
return new
AspNetHostingPermission
(_level);
153
return new
AspNetHostingPermission
(Level);
156
return new
AspNetHostingPermission
(other.Level);
174
return new
AspNetHostingPermission
(Level);
177
return new
AspNetHostingPermission
(other.Level);
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
253
private static readonly AspNetHostingPermission s_aspNetHostingPermission = new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Minimal);
System.Web (7)
IntSecurity.cs (3)
86
_levelLow = new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Low);
96
_levelMedium = new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Medium);
106
_levelHigh = new
AspNetHostingPermission
(AspNetHostingPermissionLevel.High);
UI\WebParts\ImportCatalogPart.cs (2)
176
pset.AddPermission(new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Minimal));
220
mediumPset.AddPermission(new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Medium));
UI\WebParts\WebPartManager.cs (2)
466
_mediumPermissionSet.AddPermission(new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Medium));
479
_minimalPermissionSet.AddPermission(new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Minimal));
System.Web.Mobile (1)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (1)
120
(new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Low)).Assert();
System.Web.Services (1)
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (1)
66
new
AspNetHostingPermission
(AspNetHostingPermissionLevel.Minimal).Demand();
14 references to AspNetHostingPermission
System (10)
compmod\system\security\permissions\AspNetHostingPermission.cs (10)
43
AspNetHostingPermission
.VerifyAspNetHostingPermissionLevel(value, "Level");
147
if (target.GetType() != typeof(
AspNetHostingPermission
)) {
151
AspNetHostingPermission
other = (
AspNetHostingPermission
) target;
168
if (target.GetType() != typeof(
AspNetHostingPermission
)) {
172
AspNetHostingPermission
other = (
AspNetHostingPermission
) target;
190
if (target.GetType() != typeof(
AspNetHostingPermission
)) {
194
AspNetHostingPermission
other = (
AspNetHostingPermission
) target;
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
253
private static readonly
AspNetHostingPermission
s_aspNetHostingPermission = new AspNetHostingPermission(AspNetHostingPermissionLevel.Minimal);
System.Web (3)
HttpRuntime.cs (3)
2704
AspNetHostingPermission
permission = (
AspNetHostingPermission
)NamedPermissionSet.GetPermission(
2705
typeof(
AspNetHostingPermission
));