21 references to GetPermission
mscorlib (21)
system\security\permissionset.cs (15)
392
return
GetPermission
( permToken.m_index );
440
IPermission currPerm =
GetPermission
( permToken.m_index );
476
IPermission currPerm =
GetPermission
(permToken.m_index);
495
IPermission perm =
GetPermission
(index);
580
IPermission thisPerm = this.
GetPermission
(i);
584
IPermission targetPerm = target.
GetPermission
(i);
678
permThat = (CodeAccessPermission)deniedSet.
GetPermission
(enumThis.GetCurrentIndex());
717
GetPermission
(index);
1412
IPermission thisPerm =
GetPermission
(token.m_index);
1532
IPermission currPerm =
GetPermission
(i);
1701
GetPermission
(i);
1710
HostProtectionPermission hpp = (HostProtectionPermission)
GetPermission
(HostProtectionPermission.GetTokenIndex());
2539
= (CodeAccessPermission)assertSet.
GetPermission
(i);
2588
= (CodeAccessPermission)assertSet.
GetPermission
(i);
2620
= (CodeAccessPermission)assertSet1.
GetPermission
(i);
system\security\securitymanager.cs (6)
590
securityPermission = grantSet.
GetPermission
(BuiltInPermissionIndex.SecurityPermissionIndex) as SecurityPermission;
593
reflectionPermission = grantSet.
GetPermission
(BuiltInPermissionIndex.ReflectionPermissionIndex) as ReflectionPermission;
597
specialPermissions[i] = grantSet.
GetPermission
(s_BuiltInPermissionIndexMap[i][0]) as CodeAccessPermission;
611
securityPermission = deniedSet.
GetPermission
(BuiltInPermissionIndex.SecurityPermissionIndex) as SecurityPermission;
614
reflectionPermission = deniedSet.
GetPermission
(BuiltInPermissionIndex.ReflectionPermissionIndex) as ReflectionPermission;
618
CodeAccessPermission deniedSpecialPermission = deniedSet.
GetPermission
(s_BuiltInPermissionIndexMap[i][0]) as CodeAccessPermission;