43 references to GetMutableExecutionContext
mscorlib (43)
system\runtime\remoting\callcontext.cs (8)
44
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
56
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
90
GetMutableExecutionContext
().LogicalCallContext.Principal = value;
109
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
149
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
157
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
167
LogicalCallContext lcc = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
174
LogicalCallContext lcc = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\runtime\remoting\channelsinkstacks.cs (1)
448
returnValue, outArgs, _msg.ArgCount, Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext, _msg);
system\runtime\remoting\crossappdomainchannel.cs (2)
377
LogicalCallContext lcc = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
646
_callCtx = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\runtime\remoting\crosscontextchannel.cs (1)
425
_callCtx = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\runtime\remoting\message.cs (3)
877
LogicalCallContext callCtx = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
2558
_callContext = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
2575
_callContext = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\runtime\remoting\realproxy.cs (5)
637
Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext.Merge(
818
cctx = currentThread.
GetMutableExecutionContext
().LogicalCallContext;
829
Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext.PropagateIncomingHeadersToCallContext(retMsg);
950
currentThread.
GetMutableExecutionContext
().LogicalCallContext = currCtx;
956
ExecutionContext ec = currentThread.
GetMutableExecutionContext
();
system\runtime\remoting\remotingproxy.cs (2)
254
LogicalCallContext cctx = currentThread.
GetMutableExecutionContext
().LogicalCallContext;
514
Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext.Clone();
system\runtime\remoting\stackbuildersink.cs (4)
70
LogicalCallContext lcc = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
124
LogicalCallContext latestCallContext = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
153
LogicalCallContext latestCallContext = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
249
LogicalCallContext latestCallContext = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\runtime\remoting\synchronizeddispatch.cs (1)
712
_callCtx = Thread.CurrentThread.
GetMutableExecutionContext
().LogicalCallContext;
system\security\principal\windowsidentity.cs (1)
781
ExecutionContext ec = currentThread.
GetMutableExecutionContext
();
system\security\securitycontext.cs (4)
117
Contract.Assert(currEC == Thread.CurrentThread.
GetMutableExecutionContext
(), "SecurityContextSwitcher used from another thread");
297
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
308
SecurityContext sc = Thread.CurrentThread.
GetMutableExecutionContext
().SecurityContext;
466
ExecutionContext currEC = Thread.CurrentThread.
GetMutableExecutionContext
();
system\threading\compressedstack.cs (1)
405
ExecutionContext ec = currentThread.
GetMutableExecutionContext
();
system\threading\executioncontext.cs (5)
402
_sc = currentThread.
GetMutableExecutionContext
().SecurityContext;
412
_ec = currentThread.
GetMutableExecutionContext
();
435
if (Thread.CurrentThread.
GetMutableExecutionContext
() != _ec)
678
ExecutionContext current = Thread.CurrentThread.
GetMutableExecutionContext
();
1182
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
system\threading\hostexecutioncontextmanager.cs (2)
209
ExecutionContext currentExecutionContext = Thread.CurrentThread.
GetMutableExecutionContext
();
250
ExecutionContext executionContext = Thread.CurrentThread.
GetMutableExecutionContext
();
system\threading\synchronizationcontext.cs (1)
242
ExecutionContext ec = Thread.CurrentThread.
GetMutableExecutionContext
();
system\threading\thread.cs (2)
390
result =
GetMutableExecutionContext
();
1424
GetMutableExecutionContext
().LogicalCallContext.SecurityData.Principal = principal;