44 references to CodeAccessSecurityEngine
mscorlib (44)
microsoft\win32\registrykey.cs (1)
1841if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) {
system\diagnostics\stacktrace.cs (1)
132if (!CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\environment.cs (2)
466bool isFullTrust = CodeAccessSecurityEngine.QuickCheckForAllDemands(); 767bool isFullTrust = CodeAccessSecurityEngine.QuickCheckForAllDemands();
system\io\directory.cs (2)
144if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) 274&& !CodeAccessSecurityEngine.QuickCheckForAllDemands()
system\io\file.cs (1)
1324if (CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\io\filestream.cs (2)
725(!CodeAccessSecurityEngine.QuickCheckForAllDemands() || AppContextSwitches.UseLegacyPathHandling) 747if (CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\io\filesystemenumerable.cs (4)
220if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) 329if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) 696if (!CodeAccessSecurityEngine.QuickCheckForAllDemands()) 725if (!CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\io\longpath.cs (1)
519&& !CodeAccessSecurityEngine.QuickCheckForAllDemands()
system\io\path.cs (1)
180&& !CodeAccessSecurityEngine.QuickCheckForAllDemands()
system\reflection\assembly.cs (2)
2598if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) { 2928if (CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\reflection\emit\dynamicmethod.cs (2)
474CodeAccessSecurityEngine.ReflectionTargetDemandHelper(PermissionType.SecurityControlEvidence, 516CodeAccessSecurityEngine.ReflectionTargetDemandHelper(PermissionType.SecurityControlEvidence,
system\runtime\remoting\activationservices.cs (1)
307CodeAccessSecurityEngine.CheckAssembly(asm, remotingInfrastructurePermission);
system\security\codeaccesspermission.cs (5)
79CodeAccessSecurityEngine.Check(this, ref stackMark); 95CodeAccessSecurityEngine.SpecialDemand(permissionType, ref stackMark); 107CodeAccessSecurityEngine.Assert(this, ref stackMark); 136CodeAccessSecurityEngine.Deny(this, ref stackMark); 148CodeAccessSecurityEngine.PermitOnly(this, ref stackMark);
system\security\permissions\fileiopermission.cs (6)
584CodeAccessSecurityEngine.QuickCheckForAllDemands() && 1007if (!CodeAccessSecurityEngine.QuickCheckForAllDemands()) 1030if (!CodeAccessSecurityEngine.QuickCheckForAllDemands()) 1046if (!CodeAccessSecurityEngine.QuickCheckForAllDemands()) 1056if (!CodeAccessSecurityEngine.QuickCheckForAllDemands()) 1069if (!CodeAccessSecurityEngine.QuickCheckForAllDemands())
system\security\permissionset.cs (1)
1512CodeAccessSecurityEngine.Check(GetCasOnlySet(), ref stackMark);
system\security\permissionsettriple.cs (4)
222CodeAccessSecurityEngine.CheckHelper(GrantSet, RefusedSet, demand, permToken, rmh, null, SecurityAction.Demand, true); 237CodeAccessSecurityEngine.CheckSetHelper(GrantSet, RefusedSet, demandSet, rmh, null, SecurityAction.Demand, true); 249return CodeAccessSecurityEngine.CheckHelper(GrantSet, RefusedSet, demand, permToken, RuntimeMethodHandleInternal.EmptyHandle, null, SecurityAction.Demand, false); 258return CodeAccessSecurityEngine.CheckSetHelper(GrantSet, RefusedSet, demandSet, RuntimeMethodHandleInternal.EmptyHandle, null, SecurityAction.Demand, false);
system\security\policymanager.cs (1)
76if (CodeAccessSecurityEngine.TryResolveGrantSet(evidence, out grantSet))
system\security\securitymanager.cs (2)
158CodeAccessSecurityEngine.GetZoneAndOrigin( ref mark, out zone, out origin ); 341return !CodeAccessSecurityEngine.QuickCheckForAllDemands();
system\security\securityruntime.cs (3)
134FrameSecurityDescriptor secObj = CodeAccessSecurityEngine.CheckNReturnSO( 135CodeAccessSecurityEngine.AssertPermissionToken, 136CodeAccessSecurityEngine.AssertPermission,
system\threading\compressedstack.cs (2)
222if (CodeAccessSecurityEngine.QuickCheckForAllDemands()) 227else if (CodeAccessSecurityEngine.AllDomainsHomogeneousWithNoStackModifiers())