51 references to SecurityRuntime
mscorlib (51)
system\security\codeaccesspermission.cs (5)
36SecurityRuntime.RevertAssert(ref stackMark); 45SecurityRuntime.RevertDeny(ref stackMark); 53SecurityRuntime.RevertPermitOnly(ref stackMark); 61SecurityRuntime.RevertAll(ref stackMark); 123SecurityRuntime.AssertAllPossible(ref stackMark);
system\security\codeaccesssecurityengine.cs (2)
651SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true); 671SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true);
system\security\framesecuritydescriptor.cs (15)
289if (fContinue == SecurityRuntime.StackContinue) 332throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 347throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 360throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 372throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 377return SecurityRuntime.StackHalt; 393return SecurityRuntime.StackHalt; 408return SecurityRuntime.StackContinue; 424if (fContinue == SecurityRuntime.StackContinue) 461return SecurityRuntime.StackHalt; 492throw new SecurityException(Environment.GetResourceString("Security_GenericNoType"), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demandSet, permFailed); 516throw new SecurityException(Environment.GetResourceString("Security_GenericNoType"), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demandSet, permFailed); 528return SecurityRuntime.StackHalt; 537return SecurityRuntime.StackHalt; 555return SecurityRuntime.StackContinue;
system\security\permissionlistset.cs (5)
455bool bRet = SecurityRuntime.StackContinue; 458for (int i=0; (i < m_permSetTriples.Count && bRet != SecurityRuntime.StackHalt) ; i++) 477return SecurityRuntime.StackHalt; // CS demand check always terminates the stackwalk 483bool bRet = SecurityRuntime.StackContinue; 488for (int i=0; (i < m_permSetTriples.Count && bRet != SecurityRuntime.StackHalt) ; i++)
system\security\permissionset.cs (4)
1549SecurityRuntime.Assert(this, ref stackMark); 1562SecurityRuntime.Deny(this, ref stackMark); 1574SecurityRuntime.PermitOnly(this, ref stackMark); 2516SecurityRuntime.RevertAssert(ref stackMark);
system\security\permissionsettriple.cs (10)
188return SecurityRuntime.StackHalt; 195return SecurityRuntime.StackContinue; 208return SecurityRuntime.StackHalt; 211return SecurityRuntime.StackContinue; 218if (CheckAssert(AssertSet, demand, permToken) == SecurityRuntime.StackHalt) 219return SecurityRuntime.StackHalt; 225return SecurityRuntime.StackContinue; 232if (CheckAssert(AssertSet, demandSet, out alteredDemandset) == SecurityRuntime.StackHalt) 233return SecurityRuntime.StackHalt; 240return SecurityRuntime.StackContinue;
system\security\principal\windowsidentity.cs (1)
735FrameSecurityDescriptor secObj = SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true);
system\security\securityexception.cs (1)
105method = SecurityRuntime.GetMethodInfo(rmh);
system\security\securityruntime.cs (3)
159SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true); 188SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true); 209SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, true);
system\threading\compressedstack.cs (5)
424return SecurityRuntime.StackHalt; 428return SecurityRuntime.StackHalt; // CS demand check always terminates the stackwalk 438return SecurityRuntime.StackContinue; 451return SecurityRuntime.StackHalt; 463return SecurityRuntime.StackContinue;