2 types derived from PermissionSet
mscorlib (2)
162 instantiations of PermissionSet
mscorlib (65)
PresentationCore (11)
PresentationFramework (9)
System (16)
System.Activities (2)
System.AddIn (9)
System.Configuration (1)
System.Data (6)
System.Data.Entity (1)
System.Data.SqlXml (1)
System.Drawing (1)
System.IdentityModel (1)
System.Runtime.Remoting (2)
System.Security (1)
System.ServiceModel (1)
System.ServiceModel.Activation (1)
System.ServiceModel.Activities (1)
System.ServiceModel.Internals (1)
System.Web (13)
System.Web.Services (1)
System.Windows.Forms (7)
System.Xml (4)
WindowsBase (7)
554 references to PermissionSet
mscorlib (363)
system\appdomain.cs (32)
1305PermissionSet requiredPermissions,
1306PermissionSet optionalPermissions,
1307PermissionSet refusedPermissions)
1348PermissionSet requiredPermissions,
1349PermissionSet optionalPermissions,
1350PermissionSet refusedPermissions)
1373PermissionSet requiredPermissions,
1374PermissionSet optionalPermissions,
1375PermissionSet refusedPermissions)
1400PermissionSet requiredPermissions,
1401PermissionSet optionalPermissions,
1402PermissionSet refusedPermissions)
1428PermissionSet requiredPermissions,
1429PermissionSet optionalPermissions,
1430PermissionSet refusedPermissions,
1456PermissionSet requiredPermissions,
1457PermissionSet optionalPermissions,
1458PermissionSet refusedPermissions,
1508PermissionSet requiredPermissions,
1509PermissionSet optionalPermissions,
1510PermissionSet refusedPermissions,
1569PermissionSet.s_fullTrust.Assert();
1592PermissionSet.s_fullTrust.Assert();
1749PermissionSet.s_fullTrust.Assert();
1835PermissionSet.s_fullTrust.Assert();
2875PermissionSet permissionSet = new PermissionSet();
2903Contract.Assert( !(obj is PermissionSet), "PermissionSet should be xml deserialized" );
3460PermissionSet grantSet,
4416public PermissionSet PermissionSet
4422PermissionSet grantSet = null;
4441PermissionSet grantSet = null;
4469internal PermissionSet GetHomogenousGrantSet(Evidence evidence)
system\iappdomain.cs (15)
104PermissionSet requiredPermissions,
105PermissionSet optionalPermissions,
106PermissionSet refusedPermissions);
116PermissionSet requiredPermissions,
117PermissionSet optionalPermissions,
118PermissionSet refusedPermissions);
123PermissionSet requiredPermissions,
124PermissionSet optionalPermissions,
125PermissionSet refusedPermissions);
131PermissionSet requiredPermissions,
132PermissionSet optionalPermissions,
133PermissionSet refusedPermissions);
139PermissionSet requiredPermissions,
140PermissionSet optionalPermissions,
141PermissionSet refusedPermissions,
system\reflection\emit\assemblybuilder.cs (11)
301PermissionSet requiredPermissions,
302PermissionSet optionalPermissions,
303PermissionSet refusedPermissions,
533PermissionSet requiredPermissions,
534PermissionSet optionalPermissions,
535PermissionSet refusedPermissions,
552PermissionSet requiredPermissions,
553PermissionSet optionalPermissions,
554PermissionSet refusedPermissions,
1314public override PermissionSet PermissionSet
2093private void AddDeclarativeSecurity(PermissionSet pset, SecurityAction action)
system\security\codeaccesssecurityengine.cs (32)
106private static void ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
115PermissionSet.s_fullTrust.Assert();
127private static void ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
144PermissionSet grants,
145PermissionSet refused,
146PermissionSet demands,
182internal static bool CheckSetHelper(PermissionSet grants,
184PermissionSet refused,
185PermissionSet demands,
258PermissionSet grantedSet,
259PermissionSet refusedSet,
295internal static bool CheckHelper(PermissionSet grantedSet,
297PermissionSet refusedSet,
427private static void CheckGrantSetHelper(PermissionSet grantSet)
441internal static void ReflectionTargetDemandHelper(PermissionType permission, PermissionSet targetGrant)
458private static void ReflectionTargetDemandHelper(int permission, PermissionSet targetGrant)
479PermissionSet targetGrant,
496PermissionSet targetGrant,
503PermissionSet demandSet = null;
518internal static void GetZoneAndOriginHelper( CompressedStack cs, PermissionSet grantSet, PermissionSet refusedSet, ArrayList zoneList, ArrayList originList )
558PermissionSet granted, refused;
595internal static void Check(PermissionSet permSet, ref StackCrawlMark stackMark)
730private static PermissionSet ResolveGrantSet(Evidence evidence, out int specialFlags, bool checkExecutionPermission)
735PermissionSet grantSet = null;
762internal static bool TryResolveGrantSet(Evidence evidence, out PermissionSet grantSet)
778PermissionSet hostGrantSet = securityManager.ResolvePolicy(evidence);
799PermissionSet homogenousGrantSet = AppDomain.CurrentDomain.ApplicationTrust.DefaultGrantSet.PermissionSet;
830private static PermissionListSet UpdateAppDomainPLS(PermissionListSet adPLS, PermissionSet grantedPerms, PermissionSet refusedPerms) {
system\security\permissionset.cs (40)
119internal static readonly PermissionSet s_fullTrust = new PermissionSet( true );
216public PermissionSet(PermissionSet permSet)
548internal bool IsSubsetOfHelper(PermissionSet target, IsSubsetOfType type, out IPermission firstPermThatFailed, bool ignoreNonCas)
634public bool IsSubsetOf(PermissionSet target)
640internal bool CheckDemand(PermissionSet target, out IPermission firstPermThatFailed)
645internal bool CheckPermitOnly(PermissionSet target, out IPermission firstPermThatFailed)
650internal bool CheckAssertion(PermissionSet target)
656internal bool CheckDeny(PermissionSet deniedSet, out IPermission firstPermThatFailed)
720internal void CheckDecoded(PermissionSet demandedSet)
766internal void InplaceIntersect( PermissionSet other )
941public PermissionSet Intersect(PermissionSet other)
964PermissionSet pset = new PermissionSet( false );
1098internal void InplaceUnion( PermissionSet other )
1232public PermissionSet Union(PermissionSet other)
1247PermissionSet pset = new PermissionSet();
1364internal void MergeDeniedSet(PermissionSet denied)
1426PermissionSet other = obj as PermissionSet;
1586public virtual PermissionSet Copy()
1591internal PermissionSet CopyWithNoIdentityPermissions()
1595PermissionSet copy = new PermissionSet(this);
1640PermissionSet permSetTemp = new PermissionSet(false);
2304private PermissionSet GetCasOnlySet()
2312PermissionSet pset = new PermissionSet(false);
2380private static void MergePermission(IPermission perm, bool separateCasFromNonCas, ref PermissionSet casPset, ref PermissionSet nonCasPset)
2417out PermissionSet casPset,
2423PermissionSet nonCasPset = null;
2435PermissionSet pset = ((PermissionSetAttribute)attrs[i]).CreatePermissionSet();
2519internal static PermissionSet RemoveRefusedPermissionSet(PermissionSet assertSet, PermissionSet refusedSet, out bool bFailedToCompress)
2522PermissionSet retPs = null;
2575internal static void RemoveAssertedPermissionSet(PermissionSet demandSet, PermissionSet assertSet, out PermissionSet alteredDemandSet)
2607internal static bool IsIntersectingAssertedPermissions(PermissionSet assertSet1, PermissionSet assertSet2)
system\security\permissionsettriple.cs (18)
32internal PermissionSet AssertSet;
33internal PermissionSet GrantSet;
34internal PermissionSet RefusedSet;
92internal PermissionSetTriple UpdateAssert(PermissionSet in_a)
102PermissionSet retPs;
114retPs = PermissionSet.RemoveRefusedPermissionSet(retPs, RefusedSet, out bFailedToCompress);
117bFailedToCompress = PermissionSet.IsIntersectingAssertedPermissions(retPs, AssertSet);
134internal void UpdateGrant(PermissionSet in_g, out ZoneIdentityPermission z,out UrlIdentityPermission u)
151internal void UpdateGrant(PermissionSet in_g)
161internal void UpdateRefused(PermissionSet in_r)
174static bool CheckAssert(PermissionSet pSet, CodeAccessPermission demand, PermissionToken permToken)
199static bool CheckAssert(PermissionSet assertPset, PermissionSet demandSet, out PermissionSet newDemandSet)
209PermissionSet.RemoveAssertedPermissionSet(demandSet, assertPset, out newDemandSet);
228internal bool CheckSetDemand(PermissionSet demandSet , out PermissionSet alteredDemandset, RuntimeMethodHandleInternal rmh)
253internal bool CheckSetDemandNoThrow(PermissionSet demandSet)
system\security\securityexception.cs (16)
71PermissionSet.s_fullTrust.Assert();
77internal static Exception MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)
179PermissionSet.s_fullTrust.Assert();
189PermissionSet.s_fullTrust.Assert();
205internal SecurityException( PermissionSet grantedSetObj, PermissionSet refusedSetObj )
208PermissionSet.s_fullTrust.Assert();
218internal SecurityException( String message, PermissionSet grantedSetObj, PermissionSet refusedSetObj )
221PermissionSet.s_fullTrust.Assert();
272public SecurityException(string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence)
275PermissionSet.s_fullTrust.Assert();
309PermissionSet.s_fullTrust.Assert();
569PermissionSet.s_fullTrust.Assert();
system\security\securitymanager.cs (29)
68PermissionSet granted = null, denied = null;
80public static PermissionSet GetStandardSandbox(Evidence evidence)
110PermissionSet intranetGrantSet = BuiltInPermissionSets.LocalIntranet;
132PermissionSet internetGrantSet = BuiltInPermissionSets.Internet;
255static public PermissionSet ResolvePolicy(Evidence evidence,
256PermissionSet reqdPset,
257PermissionSet optPset,
258PermissionSet denyPset,
259out PermissionSet denied)
271static public PermissionSet ResolvePolicy(Evidence evidence)
288static public PermissionSet ResolvePolicy( Evidence[] evidences )
298PermissionSet retval = ResolvePolicy( evidences[0] );
352public static PermissionSet ResolveSystemPolicy (Evidence evidence)
406private static PermissionSet ResolveCasPolicy(Evidence evidence,
407PermissionSet reqdPset,
408PermissionSet optPset,
409PermissionSet denyPset,
410out PermissionSet denied,
418PermissionSet granted = ResolvePolicy(evidence,
430static private PermissionSet ResolvePolicy(Evidence evidence,
431PermissionSet reqdPset,
432PermissionSet optPset,
433PermissionSet denyPset,
434out PermissionSet denied,
442PermissionSet requested = null;
443PermissionSet optional;
444PermissionSet allowed;
568internal static int GetSpecialFlags (PermissionSet grantSet, PermissionSet deniedSet) {
system\threading\compressedstack.cs (8)
446internal bool CheckSetDemand(PermissionSet pset , RuntimeMethodHandleInternal rmh)
457internal bool CheckSetDemandWithModificationNoHalt(PermissionSet pset, out PermissionSet alteredDemandSet, RuntimeMethodHandleInternal rmh)
475internal void DemandFlagsOrGrantSet(int flags, PermissionSet grantSet)
599internal extern static void GetDomainPermissionSets(IntPtr dcs, out PermissionSet granted, out PermissionSet refused);
605internal extern static bool GetDescriptorInfo(IntPtr dcs, int index, out PermissionSet granted, out PermissionSet refused, out Assembly assembly, out FrameSecurityDescriptor fsd);
PresentationCore (24)
PresentationFramework (15)
System (30)
System.Activities (3)
System.Activities.Presentation (1)
System.AddIn (17)
System.Configuration (12)
System.Data (19)
System.Data.Entity (1)
System.Data.Linq (1)
System.Data.SqlXml (5)
System.Drawing (3)
System.IdentityModel (1)
System.Runtime.Remoting (2)
System.Security (1)
System.ServiceModel (1)
System.ServiceModel.Activation (2)
System.ServiceModel.Activities (1)
System.ServiceModel.Internals (2)
System.Web (17)
System.Windows.Forms (19)
System.Xml (6)
WindowsBase (8)