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