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