2 types derived from ContextBoundObject
System.ServiceModel (2)
System\ServiceModel\ComIntegration\ServiceMoniker.cs (2)
21
public sealed class ServiceMoniker :
ContextBoundObject
29
internal sealed class ServiceMonikerInternal :
ContextBoundObject
, IMoniker, IParseDisplayName, IDisposable
20 references to ContextBoundObject
mscorlib (19)
system\runtime\remoting\activationservices.cs (3)
837
(
ContextBoundObject
)server,
870
return RemotingServices.Wrap((
ContextBoundObject
)server);
969
if (!(typeof(
ContextBoundObject
).IsAssignableFrom(serverType)) ||
system\runtime\remoting\context.cs (2)
867
public static bool RegisterDynamicProperty(IDynamicProperty prop,
ContextBoundObject
obj, Context ctx)
897
public static bool UnregisterDynamicProperty(String name,
ContextBoundObject
obj, Context ctx)
system\runtime\remoting\identityholder.cs (3)
280
if (obj is
ContextBoundObject
)
784
RemotingServices.AlwaysUnwrap((
ContextBoundObject
)obj);
815
RemotingServices.AlwaysUnwrap((
ContextBoundObject
)obj);
system\runtime\remoting\remotingproxy.cs (1)
208
(
ContextBoundObject
) this.UnwrappedServerObject);
system\runtime\remoting\remotingservices.cs (8)
424
Contract.Assert(!(obj is
ContextBoundObject
), "ContextBoundObject's shouldn't get here.");
452
Contract.Assert(obj is
ContextBoundObject
, "Object should have been a ContextBoundObject.");
719
Contract.Assert(srvID != null && Obj is
ContextBoundObject
,
1054
internal static Object Wrap(
ContextBoundObject
obj)
1060
internal static Object Wrap(
ContextBoundObject
obj, Object proxy, bool fCreateSinks)
1157
internal static extern Object Unwrap(
ContextBoundObject
obj);
1161
internal static extern Object AlwaysUnwrap(
ContextBoundObject
obj);
2321
if(!IsTransparentProxy(obj) && (obj is
ContextBoundObject
))
system\runtime\remoting\serveridentity.cs (1)
131
internal ServerIdentity(MarshalByRefObject obj, Context serverCtx) : base(obj is
ContextBoundObject
)
system\type.cs (1)
1325
return typeof(
ContextBoundObject
).IsAssignableFrom(this);
System.Runtime.Remoting (1)
metadata\wsdlwriter.cs (1)
812
private static Type s_contextBoundType = typeof(System.
ContextBoundObject
);