28 references to PermissionType
mscorlib (28)
system\reflection\ConstructorInfo.cs (2)
635
CodeAccessPermission.Demand(
PermissionType
.ReflectionMemberAccess);
728
CodeAccessPermission.Demand(
PermissionType
.ReflectionMemberAccess);
system\reflection\emit\dynamicmethod.cs (2)
474
CodeAccessSecurityEngine.ReflectionTargetDemandHelper(
PermissionType
.SecurityControlEvidence,
516
CodeAccessSecurityEngine.ReflectionTargetDemandHelper(
PermissionType
.SecurityControlEvidence,
system\reflection\methodinfo.cs (1)
731
CodeAccessPermission.Demand(
PermissionType
.ReflectionMemberAccess);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
164
CodeAccessPermission.Demand(
PermissionType
.SecuritySerialization);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
91
CodeAccessPermission.Demand(
PermissionType
.SecuritySerialization);
system\runtime\serialization\objectmanager.cs (1)
60
CodeAccessPermission.Demand(
PermissionType
.SecuritySerialization);
system\runtime\serialization\serializationinfo.cs (1)
190
CodeAccessPermission.Demand(
PermissionType
.SecuritySerialization);
system\security\codeaccesspermission.cs (1)
86
internal static void Demand(
PermissionType
permissionType)
system\security\codeaccesssecurityengine.cs (2)
60
internal static extern void SpecialDemand(
PermissionType
whatPermission, ref StackCrawlMark stackMark);
441
internal static void ReflectionTargetDemandHelper(
PermissionType
permission, PermissionSet targetGrant)
system\security\securitymanager.cs (15)
551
new int[] { BuiltInPermissionIndex.EnvironmentPermissionIndex, (int)
PermissionType
.EnvironmentPermission },
552
new int[] { BuiltInPermissionIndex.FileDialogPermissionIndex, (int)
PermissionType
.FileDialogPermission },
553
new int[] { BuiltInPermissionIndex.FileIOPermissionIndex, (int)
PermissionType
.FileIOPermission },
554
new int[] { BuiltInPermissionIndex.ReflectionPermissionIndex, (int)
PermissionType
.ReflectionPermission },
555
new int[] { BuiltInPermissionIndex.SecurityPermissionIndex, (int)
PermissionType
.SecurityPermission },
556
new int[] { BuiltInPermissionIndex.UIPermissionIndex, (int)
PermissionType
.UIPermission }
642
flags |= (1 << (int)
PermissionType
.SecurityUnmngdCodeAccess);
644
flags |= (1 << (int)
PermissionType
.SecuritySkipVerification);
646
flags |= (1 << (int)
PermissionType
.SecurityAssert);
648
flags |= (1 << (int)
PermissionType
.SecuritySerialization);
650
flags |= (1 << (int)
PermissionType
.SecurityBindingRedirects);
652
flags |= (1 << (int)
PermissionType
.SecurityControlEvidence);
654
flags |= (1 << (int)
PermissionType
.SecurityControlPrincipal);
657
flags |= (1 << (int)
PermissionType
.ReflectionRestrictedMemberAccess);
659
flags |= (1 << (int)
PermissionType
.ReflectionMemberAccess);
system\threading\thread.cs (1)
846
SecurityPermission.Demand(
PermissionType
.FullTrust);