1 write to currEC
mscorlib (1)
system\security\securitycontext.cs (1)
467
scsw.
currEC
= currEC;
4 references to currEC
mscorlib (4)
system\security\securitycontext.cs (4)
115
if (
currEC
!= null)
117
Contract.Assert(
currEC
== Thread.CurrentThread.GetMutableExecutionContext(), "SecurityContextSwitcher used from another thread");
118
Contract.Assert(currSC ==
currEC
.SecurityContext, "SecurityContextSwitcher context mismatch");
121
currEC
.SecurityContext = prevSC.DangerousGetRawSecurityContext();