26 references to GetExecutionContextReader
mscorlib (26)
system\runtime\remoting\callcontext.cs (4)
67
return Thread.CurrentThread.
GetExecutionContextReader
().LogicalCallContext.GetData(name);
75
return Thread.CurrentThread.
GetExecutionContextReader
().IllogicalCallContext.GetData(name);
83
return Thread.CurrentThread.
GetExecutionContextReader
().LogicalCallContext.Principal;
99
ExecutionContext.Reader ec = Thread.CurrentThread.
GetExecutionContextReader
();
system\security\principal\windowsidentity.cs (2)
771
return SecurityContext.GetCurrentWI(Thread.CurrentThread.
GetExecutionContextReader
());
779
if (currentThread.
GetExecutionContextReader
().SecurityContext.WindowsIdentity != wi)
system\security\securitycontext.cs (8)
126
Contract.Assert(Thread.CurrentThread.
GetExecutionContextReader
().SecurityContext.IsSame(prevSC));
329
return Thread.CurrentThread.
GetExecutionContextReader
().SecurityContext.IsFlowSuppressed(flags);
356
ExecutionContext.Reader ec = Thread.CurrentThread.
GetExecutionContextReader
();
365
if (GetCurrentWI(Thread.CurrentThread.
GetExecutionContextReader
()) != null)
373
Contract.Assert(GetCurrentWI(Thread.CurrentThread.
GetExecutionContextReader
()) == null);
416
rData.scsw = SetSecurityContext(rData.sc, Thread.CurrentThread.
GetExecutionContextReader
().SecurityContext, modifyCurrentExecutionContext: true);
557
SecurityContext sc = SecurityContext.Capture(Thread.CurrentThread.
GetExecutionContextReader
(), ref stackMark);
657
Contract.Assert(currentEC.IsSame(Thread.CurrentThread.
GetExecutionContextReader
()));
system\threading\compressedstack.cs (2)
395
return Thread.CurrentThread.
GetExecutionContextReader
().SecurityContext.CompressedStack;
403
if (currentThread.
GetExecutionContextReader
().SecurityContext.CompressedStack != cs)
system\threading\executioncontext.cs (8)
350
ExecutionContext.Reader innerEC = currentThread.
GetExecutionContextReader
();
444
if (!Thread.CurrentThread.
GetExecutionContextReader
().SecurityContext.IsSame(_sc))
672
return Thread.CurrentThread.
GetExecutionContextReader
().GetLocalValue(local);
954
ExecutionContext.Reader ec = currentThread.
GetExecutionContextReader
();
999
ecsw.outerEC = currentThread.
GetExecutionContextReader
();
1036
ExecutionContext.Reader outerEC = currentThread.
GetExecutionContextReader
();
1193
return Thread.CurrentThread.
GetExecutionContextReader
().IsFlowSuppressed;
1236
ExecutionContext.Reader ecCurrent = Thread.CurrentThread.
GetExecutionContextReader
();
system\threading\synchronizationcontext.cs (2)
252
return Thread.CurrentThread.
GetExecutionContextReader
().SynchronizationContext ?? GetThreadLocalContext();
262
return Thread.CurrentThread.
GetExecutionContextReader
().SynchronizationContextNoFlow ?? GetThreadLocalContext();