2 instantiations of Context
mscorlib (2)
system\runtime\remoting\activationservices.cs (1)
645
serverContext = new
Context
();
system\runtime\remoting\context.cs (1)
208
return new
Context
(CTX_DEFAULT_CONTEXT);
80 references to Context
mscorlib (80)
system\appdomain.cs (4)
45
using Context = System.Runtime.Remoting.Contexts.
Context
;
308
private
Context
_DefaultContext;
3344
_DefaultContext =
Context
.CreateDefaultContext();
3349
internal
Context
GetDefaultContext()
system\runtime\remoting\activationservices.cs (6)
256
Context
cliCtx = Thread.CurrentContext;
313
Context
ctx, IConstructionCallMessage ctorMsg, Object[] attributes)
635
Context
serverContext = null;
848
if (Thread.CurrentContext !=
Context
.DefaultContext)
1129
Context
ctx, IConstructionCallMessage ctorMsg)
1685
public virtual bool IsContextOK(
Context
ctx, IConstructionCallMessage msg)
system\runtime\remoting\context.cs (10)
196
public static
Context
DefaultContext
206
internal static
Context
CreateDefaultContext()
644
Context
currCtx = Thread.CurrentContext;
867
public static bool RegisterDynamicProperty(IDynamicProperty prop, ContextBoundObject obj,
Context
ctx)
888
fRegistered =
Context
.AddDynamicProperty(ctx, prop);
897
public static bool UnregisterDynamicProperty(String name, ContextBoundObject obj,
Context
ctx)
921
fUnregister =
Context
.RemoveDynamicProperty(ctx, name);
932
internal static bool AddDynamicProperty(
Context
ctx, IDynamicProperty prop)
970
internal static bool RemoveDynamicProperty(
Context
ctx, String name)
1144
Context
.ExecuteCallBackInEE(_privateData);
system\runtime\remoting\contextproperty.cs (6)
68
bool IsContextOK(
Context
ctx, IConstructionCallMessage msg);
93
bool IsNewContextOK(
Context
newCtx);
99
void Freeze(
Context
newContext);
162
public virtual bool IsNewContextOK(
Context
newCtx)
173
public virtual void Freeze(
Context
newContext)
202
Context
ctx, IConstructionCallMessage ctorMsg)
system\runtime\remoting\crossappdomainchannel.cs (1)
106
Context
.DefaultContext.InternalContextID,
system\runtime\remoting\crosscontextchannel.cs (16)
67
Context
srvCtx = args[1] as
Context
;
177
Context
oldCtx = (
Context
) args[2];
178
Context
srvCtx = (
Context
) args[3];
262
Context
srvCtx = srvID.ServerContext;
307
Context
oldCtx = (
Context
) args[2];
308
Context
srvCtx = (
Context
) args[3];
363
Context
srvCtx = srvID.ServerContext;
405
private
Context
_oldCtx;
414
internal AsyncWorkItem(IMessageSink replySink,
Context
oldCtx)
420
internal AsyncWorkItem(IMessage reqMsg, IMessageSink replySink,
Context
oldCtx, ServerIdentity srvID)
502
Context
srvCtx = This._srvID.ServerContext;
system\runtime\remoting\identityholder.cs (3)
67
private static volatile
Context
_cachedDefaultContext = null;
75
internal static
Context
DefaultContext
278
Context
serverCtx = null;
system\runtime\remoting\lifetimeservices.cs (2)
242
public bool IsNewContextOK(
Context
newCtx)
251
public void Freeze(
Context
newContext)
system\runtime\remoting\message.cs (2)
5082
Context
ctx = Thread.GetContextInternal(_targetCtxID);
5085
ctx =
Context
.DefaultContext;
system\runtime\remoting\proxyattribute.cs (2)
75
Context
serverContext)
111
public bool IsContextOK(
Context
ctx, IConstructionCallMessage msg)
system\runtime\remoting\remotingproxy.cs (2)
81
Context
currentContext,
333
Context
currentContext = currentThread.GetCurrentContextInternal();
system\runtime\remoting\remotingservices.cs (5)
428
Context
serverCtx = null;
1176
Context
currContext = Thread.CurrentContext;
2302
contextId =
Context
.DefaultContext.InternalContextID;
2317
internal static
Context
GetServerContext(MarshalByRefObject obj)
2319
Context
serverCtx = null;
system\runtime\remoting\serveridentity.cs (4)
27
internal
Context
_srvCtx;
131
internal ServerIdentity(MarshalByRefObject obj,
Context
serverCtx) : base(obj is ContextBoundObject)
153
internal ServerIdentity(MarshalByRefObject obj,
Context
serverCtx, String uri) :
162
internal
Context
ServerContext
system\runtime\remoting\synchronizeddispatch.cs (2)
181
public override bool IsContextOK(
Context
ctx, IConstructionCallMessage msg)
690
internal
Context
_ctx;
system\runtime\remoting\terminatorsinks.cs (7)
291
Context
ctx = Thread.CurrentContext;
341
replyMsg = (IMessage) Thread.CurrentThread.InternalCrossContextCallback(
Context
.DefaultContext, xctxDel, args);
417
Context
cliCtx = Thread.CurrentContext;
449
msgCtrl = (IMessageCtrl) Thread.CurrentThread.InternalCrossContextCallback(
Context
.DefaultContext, xctxDel, args);
482
Context
_cliCtx; // the context this call emerged from
484
internal AsyncReplySink(IMessageSink replySink,
Context
cliCtx)
589
Context
ctx = Thread.CurrentContext;
system\runtime\remoting\urlattribute.cs (1)
62
public override bool IsContextOK(
Context
ctx, IConstructionCallMessage msg)
system\threading\thread.cs (7)
136
private
Context
m_Context;
1370
public static
Context
CurrentContext
1380
internal
Context
GetCurrentContextInternal()
1384
m_Context =
Context
.DefaultContext;
1434
internal static extern
Context
GetContextInternal(IntPtr id);
1439
internal extern Object InternalCrossContextCallback(
Context
ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args);
1442
internal Object InternalCrossContextCallback(
Context
ctx, InternalCrossContextDelegate ftnToCall, Object[] args)