6 writes to SecurityContext
mscorlib (6)
system\security\principal\windowsidentity.cs (1)
787
ec.
SecurityContext
= sc;
system\security\securitycontext.cs (3)
121
currEC.
SecurityContext
= prevSC.DangerousGetRawSecurityContext();
299
ec.
SecurityContext
= new SecurityContext();
468
currEC.
SecurityContext
= sc;
system\threading\compressedstack.cs (1)
412
ec.
SecurityContext
= sc;
system\threading\executioncontext.cs (1)
1309
ecNew.
SecurityContext
= secCtxNew;
11 references to SecurityContext
mscorlib (11)
system\security\principal\windowsidentity.cs (1)
782
SecurityContext sc = ec.
SecurityContext
;
system\security\securitycontext.cs (3)
118
Contract.Assert(currSC == currEC.
SecurityContext
, "SecurityContextSwitcher context mismatch");
298
if (ec.
SecurityContext
== null)
308
SecurityContext sc = Thread.CurrentThread.GetMutableExecutionContext().
SecurityContext
;
system\threading\compressedstack.cs (2)
406
if (ec.
SecurityContext
!= null)
407
ec.
SecurityContext
.CompressedStack = cs;
system\threading\executioncontext.cs (5)
402
_sc = currentThread.GetMutableExecutionContext().
SecurityContext
;
622
get { return new SecurityContext.Reader(IsNull ? null : m_ec.
SecurityContext
); }
1055
SecurityContext sc = executionContext.
SecurityContext
;
1310
if (ecNew.
SecurityContext
!= null)
1311
ecNew.
SecurityContext
.ExecutionContext = ecNew;