45 references to NamedPermissionSet
System.Web (45)
Administration\WebAdminConfigurationHelper.cs (8)
37
if (HttpRuntime.
NamedPermissionSet
!= null) {
38
HttpRuntime.
NamedPermissionSet
.PermitOnly();
58
if (HttpRuntime.
NamedPermissionSet
!= null) {
59
HttpRuntime.
NamedPermissionSet
.PermitOnly();
83
if (HttpRuntime.
NamedPermissionSet
!= null) {
84
HttpRuntime.
NamedPermissionSet
.PermitOnly();
106
if (HttpRuntime.
NamedPermissionSet
!= null) {
107
HttpRuntime.
NamedPermissionSet
.PermitOnly();
Configuration\AuthorizationRule.cs (2)
521
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
522
HttpRuntime.
NamedPermissionSet
.PermitOnly();
Configuration\WebConfigurationHost.cs (1)
720
permissionSet = HttpRuntime.
NamedPermissionSet
;
ErrorFormatter.cs (1)
467
PermissionSet ps = HttpRuntime.
NamedPermissionSet
;
Hosting\ApplicationManager.cs (2)
1649
return HttpRuntime.
NamedPermissionSet
;
1662
return HttpRuntime.
NamedPermissionSet
;
HttpRuntime.cs (12)
2552
if (
NamedPermissionSet
== null)
2558
IPermission allowedPermission =
NamedPermissionSet
.GetPermission(typeof(FileIOPermission));
2583
if (
NamedPermissionSet
== null)
2589
IPermission allowedPermission =
NamedPermissionSet
.GetPermission(typeof(WebPermission));
2610
if (
NamedPermissionSet
== null)
2618
IPermission allowedPermission =
NamedPermissionSet
.GetPermission(askedPermission.GetType());
2639
if (
NamedPermissionSet
== null)
2645
IPermission allowedPermission =
NamedPermissionSet
.GetPermission(typeof(FileIOPermission));
2682
if (
NamedPermissionSet
== null)
2685
SecurityPermission securityPermission = (SecurityPermission)
NamedPermissionSet
.GetPermission(
2701
if (
NamedPermissionSet
== null)
2704
AspNetHostingPermission permission = (AspNetHostingPermission)
NamedPermissionSet
.GetPermission(
Profile\HttpProfileBase.cs (6)
42
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
43
HttpRuntime.
NamedPermissionSet
.PermitOnly();
52
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
53
HttpRuntime.
NamedPermissionSet
.PermitOnly();
127
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
128
HttpRuntime.
NamedPermissionSet
.PermitOnly();
State\SessionStateItemCollection.cs (4)
275
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
276
HttpRuntime.
NamedPermissionSet
.PermitOnly();
464
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
465
HttpRuntime.
NamedPermissionSet
.PermitOnly();
UI\Page.cs (2)
4349
if (HttpRuntime.
NamedPermissionSet
!= null && !HttpRuntime.DisableProcessRequestInApplicationTrust) {
4361
HttpRuntime.
NamedPermissionSet
.PermitOnly();
UI\TemplateControl.cs (2)
247
if (HttpRuntime.
NamedPermissionSet
!= null && !HttpRuntime.ProcessRequestInApplicationTrust) {
248
HttpRuntime.
NamedPermissionSet
.PermitOnly();
UI\WebParts\BlobPersonalizationState.cs (4)
467
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
468
HttpRuntime.
NamedPermissionSet
.PermitOnly();
1089
if (HttpRuntime.
NamedPermissionSet
!= null && HttpRuntime.ProcessRequestInApplicationTrust) {
1090
HttpRuntime.
NamedPermissionSet
.PermitOnly();
Util\Permission.cs (1)
20
NamedPermissionSet permissionset = HttpRuntime.
NamedPermissionSet
;