13 references to GetPermission
mscorlib (4)
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1901
GetPermission
(typeof(IsolatedStorageFilePermission));
system\security\codeaccesssecurityengine.cs (2)
524
ZoneIdentityPermission zone = (ZoneIdentityPermission)grantSet.
GetPermission
( typeof( ZoneIdentityPermission ) );
525
UrlIdentityPermission url = (UrlIdentityPermission)grantSet.
GetPermission
( typeof( UrlIdentityPermission ) );
system\security\policy\applicationsecurityinfo.cs (1)
138
seDefaultPS.AddChild(filePermissionSet.
GetPermission
(typeof(FileIOPermission)).ToXml());
PresentationCore (1)
Shared\MS\Internal\SecurityHelper.cs (1)
581
if (permissionSetAppDomain.
GetPermission
(siteOfOriginReadPermission.GetType()) != null)
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
225
SecurityPermission p = (SecurityPermission)permissionSet.
GetPermission
(typeof(SecurityPermission));
System.Web (7)
HttpRuntime.cs (6)
2558
IPermission allowedPermission = NamedPermissionSet.
GetPermission
(typeof(FileIOPermission));
2589
IPermission allowedPermission = NamedPermissionSet.
GetPermission
(typeof(WebPermission));
2618
IPermission allowedPermission = NamedPermissionSet.
GetPermission
(askedPermission.GetType());
2645
IPermission allowedPermission = NamedPermissionSet.
GetPermission
(typeof(FileIOPermission));
2685
SecurityPermission securityPermission = (SecurityPermission)NamedPermissionSet.
GetPermission
(
2704
AspNetHostingPermission permission = (AspNetHostingPermission)NamedPermissionSet.
GetPermission
(
Util\Permission.cs (1)
27
IPermission allowedPermission = permissionset.
GetPermission
(typeof(SqlClientPermission));