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