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