46 references to CurrentContext
mscorlib (46)
system\runtime\remoting\activationservices.cs (6)
100
BCLDebug.Trace("REMOTE","Starting up activation service ",Thread.
CurrentContext
);
256
Context cliCtx = Thread.
CurrentContext
;
486
Thread.
CurrentContext
);
593
Thread.
CurrentContext
.GetClientContextChain();
724
Thread.
CurrentContext
.GetServerContextChain().SyncProcessMessage(reqMsg);
848
if (Thread.
CurrentContext
!= Context.DefaultContext)
system\runtime\remoting\context.cs (5)
644
Context currCtx = Thread.
CurrentContext
;
682
Thread.
CurrentContext
.DoCallBackGeneric(targetCtxID, ctxDel);
693
IMessage retMsg = Thread.
CurrentContext
.GetClientContextChain().SyncProcessMessage(msgCall);
791
Thread.
CurrentContext
.MyLocalStore.SetData(slot, data);
798
return Thread.
CurrentContext
.MyLocalStore.GetData(slot);
system\runtime\remoting\crossappdomainchannel.cs (2)
423
Message.DebugOut("#### : changed to Server Domain :: "+ (Thread.
CurrentContext
.InternalContextID).ToString("X") );
467
Message.DebugOut("#### : changed back to Client Domain " + (Thread.
CurrentContext
.InternalContextID).ToString("X"));
system\runtime\remoting\crosscontextchannel.cs (5)
270
args[2] = Thread.
CurrentContext
;
287
Thread.
CurrentContext
,
372
args[2] = Thread.
CurrentContext
;
460
|| (_srvID.ServerContext == Thread.
CurrentContext
),
465
Thread.
CurrentContext
.NotifyDynamicSinks(
system\runtime\remoting\identityholder.cs (2)
282
serverCtx = Thread.
CurrentContext
;
723
"IdentityHolder.WeakenIdentity ",uri, " for context ", Thread.
CurrentContext
);
system\runtime\remoting\message.cs (4)
4963
_sourceCtxID = Thread.
CurrentContext
.InternalContextID;
4988
_sourceCtxID = Thread.
CurrentContext
.InternalContextID;
5068
Contract.Assert(Thread.
CurrentContext
.InternalContextID
5154
Thread.
CurrentContext
.InternalContextID == _targetCtxID,
system\runtime\remoting\realproxy.cs (3)
307
SetStubData(this, Thread.
CurrentContext
.InternalContextID);
331
if(iVal.Equals(Thread.
CurrentContext
.InternalContextID))
594
Thread.
CurrentContext
.IsThreadPoolAware);
system\runtime\remoting\remotingservices.cs (11)
102
return(Thread.
CurrentContext
!= serverID.ServerContext);
874
BCLDebug.Trace("REMOTE", "RemotingServices.Disconnect ", obj, " for context ", Thread.
CurrentContext
);
912
" for context " + Thread.
CurrentContext
+
1062
Message.DebugOut("Entering Wrap for context " + Thread.
CurrentContext
+ "\n");
1176
Context currContext = Thread.
CurrentContext
;
1217
currContext = Thread.
CurrentContext
;
1243
currContext = Thread.
CurrentContext
;
1573
envoySink = Thread.
CurrentContext
.CreateEnvoyChain(tpOrObject);
1839
Thread.
CurrentContext
.AppDomain,
1844
ServerIdentity si = (ServerIdentity)MarshalByRefObject.GetIdentity(Thread.
CurrentContext
.AppDomain);
2324
serverCtx = Thread.
CurrentContext
;
system\runtime\remoting\serveridentity.cs (1)
255
BCLDebug.Assert(Thread.
CurrentContext
==_srvCtx,
system\runtime\remoting\synchronizeddispatch.cs (1)
711
_ctx = Thread.
CurrentContext
;
system\runtime\remoting\terminatorsinks.cs (6)
200
return Thread.
CurrentContext
.GetClientContextChain().SyncProcessMessage(reqMsg);
222
msgCtrl = Thread.
CurrentContext
.GetClientContextChain().AsyncProcessMessage(reqMsg, replySink);
291
Context ctx = Thread.
CurrentContext
;
417
Context cliCtx = Thread.
CurrentContext
;
498
Thread.
CurrentContext
.NotifyDynamicSinks(
589
Context ctx = Thread.
CurrentContext
;