146 types derived from MarshalByRefObject
mscorlib (21)
microsoft\win32\registrykey.cs (1)
102public sealed class RegistryKey : MarshalByRefObject, IDisposable
system\__comobject.cs (1)
28internal class __ComObject : MarshalByRefObject
system\appdomain.cs (1)
210MarshalByRefObject,
system\appdomainmanager.cs (1)
44public class AppDomainManager : MarshalByRefObject {
system\contextboundobject.cs (1)
24public abstract class ContextBoundObject : MarshalByRefObject {
system\io\filesysteminfo.cs (1)
37public abstract class FileSystemInfo : MarshalByRefObject, ISerializable
system\io\isolatedstorage\isolatedstorage.cs (1)
63public abstract class IsolatedStorage : MarshalByRefObject
system\io\stream.cs (1)
43public abstract class Stream : MarshalByRefObject, IDisposable {
system\io\textreader.cs (1)
43public abstract class TextReader : MarshalByRefObject, IDisposable {
system\io\textwriter.cs (1)
43public abstract class TextWriter : MarshalByRefObject, IDisposable {
system\reflection\assemblynameproxy.cs (1)
23public class AssemblyNameProxy : MarshalByRefObject
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (1)
15internal sealed class WinRTClassActivator : MarshalByRefObject, IWinRTClassActivator
system\runtime\remoting\activationservices.cs (1)
1434internal class ActivationListener:MarshalByRefObject, IActivator
system\runtime\remoting\clientsponsor.cs (1)
25public class ClientSponsor : MarshalByRefObject, ISponsor
system\runtime\remoting\lease.cs (1)
28internal class Lease : MarshalByRefObject, ILease
system\runtime\remoting\objecthandle.cs (1)
34MarshalByRefObject,
system\runtime\remoting\redirectionproxy.cs (2)
17internal class RedirectionProxy : MarshalByRefObject, IMessageSink 101internal class ComRedirectionProxy : MarshalByRefObject, IMessageSink
system\threading\threadpool.cs (1)
1110public sealed class RegisteredWaitHandle : MarshalByRefObject {
system\threading\timer.cs (1)
834public sealed class Timer : MarshalByRefObject, IDisposable
system\threading\waithandle.cs (1)
35public abstract class WaitHandle : MarshalByRefObject, IDisposable {
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\CompilationUnit.cs (1)
216internal class ReferenceAssembly : MarshalByRefObject
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (1)
40internal class CompilerWrapper : MarshalByRefObject
BuildTasks\MS\Internal\Tasks\TaskFileService.cs (1)
106internal class TaskFileService : MarshalByRefObject, ITaskFileService
PresentationCore (22)
Core\CSharp\MS\Internal\Automation\DockProviderWrapper.cs (1)
38internal class DockProviderWrapper: MarshalByRefObject, IDockProvider
Core\CSharp\MS\Internal\Automation\ExpandCollapseProviderWrapper.cs (1)
38internal class ExpandCollapseProviderWrapper: MarshalByRefObject, IExpandCollapseProvider
Core\CSharp\MS\Internal\Automation\GridItemProviderWrapper.cs (1)
38internal class GridItemProviderWrapper: MarshalByRefObject, IGridItemProvider
Core\CSharp\MS\Internal\Automation\GridProviderWrapper.cs (1)
38internal class GridProviderWrapper: MarshalByRefObject, IGridProvider
Core\CSharp\MS\Internal\Automation\InvokeProviderWrapper.cs (1)
38internal class InvokeProviderWrapper: MarshalByRefObject, IInvokeProvider
Core\CSharp\MS\Internal\Automation\ItemContainerProviderWrapper.cs (1)
38internal class ItemContainerProviderWrapper : MarshalByRefObject, IItemContainerProvider
Core\CSharp\MS\Internal\Automation\MultipleViewProviderWrapper.cs (1)
38internal class MultipleViewProviderWrapper: MarshalByRefObject, IMultipleViewProvider
Core\CSharp\MS\Internal\Automation\RangeValueProviderWrapper.cs (1)
38internal class RangeValueProviderWrapper: MarshalByRefObject, IRangeValueProvider
Core\CSharp\MS\Internal\Automation\ScrollItemProviderWrapper.cs (1)
38internal class ScrollItemProviderWrapper: MarshalByRefObject, IScrollItemProvider
Core\CSharp\MS\Internal\Automation\ScrollProviderWrapper.cs (1)
41internal class ScrollProviderWrapper: MarshalByRefObject, IScrollProvider
Core\CSharp\MS\Internal\Automation\SelectionItemProviderWrapper.cs (1)
40internal class SelectionItemProviderWrapper: MarshalByRefObject, ISelectionItemProvider
Core\CSharp\MS\Internal\Automation\SelectionProviderWrapper.cs (1)
40internal class SelectionProviderWrapper: MarshalByRefObject, ISelectionProvider
Core\CSharp\MS\Internal\Automation\SynchronizedInputProviderWrapper.cs (1)
38internal class SynchronizedInputProviderWrapper: MarshalByRefObject, ISynchronizedInputProvider
Core\CSharp\MS\Internal\Automation\TableItemProviderWrapper.cs (1)
38internal class TableItemProviderWrapper: MarshalByRefObject, ITableItemProvider
Core\CSharp\MS\Internal\Automation\TableProviderWrapper.cs (1)
38internal class TableProviderWrapper: MarshalByRefObject, ITableProvider
Core\CSharp\MS\Internal\Automation\TextProviderWrapper.cs (1)
29internal class TextProviderWrapper : MarshalByRefObject, ITextProvider
Core\CSharp\MS\Internal\Automation\TextRangeProviderWrapper.cs (1)
30internal class TextRangeProviderWrapper: MarshalByRefObject, ITextRangeProvider
Core\CSharp\MS\Internal\Automation\ToggleProviderWrapper.cs (1)
37internal class ToggleProviderWrapper: MarshalByRefObject, IToggleProvider
Core\CSharp\MS\Internal\Automation\TransformProviderWrapper.cs (1)
37internal class TransformProviderWrapper: MarshalByRefObject, ITransformProvider
Core\CSharp\MS\Internal\Automation\ValueProviderWrapper.cs (1)
38internal class ValueProviderWrapper: MarshalByRefObject, IValueProvider
Core\CSharp\MS\Internal\Automation\VirtualizedItemProviderWrapper.cs (1)
38internal class VirtualizedItemProviderWrapper : MarshalByRefObject, IVirtualizedItemProvider
Core\CSharp\MS\Internal\Automation\WindowProviderWrapper.cs (1)
38internal class WindowProviderWrapper: MarshalByRefObject, IWindowProvider
PresentationFramework (4)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
68internal sealed class ApplicationProxyInternal : MarshalByRefObject
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (1)
41internal sealed class OleCmdHelper : MarshalByRefObject
src\Framework\MS\Internal\AppModel\RootBrowserWindowProxy.cs (1)
20class RootBrowserWindowProxy : MarshalByRefObject
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
58public sealed class DocObjHost : MarshalByRefObject, IServiceProvider, IHostService,
System (5)
compmod\system\componentmodel\Component.cs (1)
24public class Component : MarshalByRefObject, IComponent {
compmod\system\diagnostics\TraceListener.cs (1)
25public abstract class TraceListener : MarshalByRefObject, IDisposable {
compmod\System\Runtime\InteropServices\StandardOleMarshalObject.cs (1)
23public class StandardOleMarshalObject : MarshalByRefObject, UnsafeNativeMethods.IMarshal
net\System\Net\WebRequest.cs (1)
37public abstract class WebRequest : MarshalByRefObject, ISerializable
net\System\Net\WebResponse.cs (1)
31public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable {
System.AddIn (6)
System\Addin\Hosting\ActivationWorker.cs (1)
27internal sealed class ActivationWorker : MarshalByRefObject, IDisposable
System\Addin\Hosting\AddInServer.cs (3)
34internal sealed class AddInServer : MarshalByRefObject 112internal sealed class AddInServerWorker : MarshalByRefObject 193internal sealed class EventWorker : MarshalByRefObject
System\Addin\Hosting\InspectionWorker.cs (1)
35internal sealed class InspectionWorker : MarshalByRefObject
System\Addin\Pipeline\ContractBase.cs (1)
32public class ContractBase : MarshalByRefObject, IContract, ISponsor
System.Data (11)
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
22public sealed class DataColumnMapping : MarshalByRefObject, IColumnMapping, ICloneable {
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
18public sealed class DataColumnMappingCollection : MarshalByRefObject, IColumnMappingCollection {
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
22public sealed class DataTableMapping : MarshalByRefObject, ITableMapping, ICloneable {
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
22public sealed class DataTableMappingCollection : MarshalByRefObject, ITableMappingCollection {
fx\src\data\System\Data\Common\DbDataReader.cs (1)
19public abstract class DbDataReader : MarshalByRefObject, IDataReader, IEnumerable { // V1.2.3300
fx\src\data\System\Data\Common\DBParameter.cs (1)
15public abstract class DbParameter : MarshalByRefObject, IDbDataParameter { // V1.2.3300
fx\src\data\System\Data\Common\DbParameterCollection.cs (1)
16public abstract class DbParameterCollection : MarshalByRefObject, IDataParameterCollection {
fx\src\data\System\Data\Common\DbTransaction.cs (1)
14public abstract class DbTransaction : MarshalByRefObject, IDbTransaction { // V1.2.3300
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
38internal class SqlDependencyProcessDispatcher : MarshalByRefObject { // MBR since ref'ed by other appdomains.
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (2)
25internal class SqlDependencyPerAppDomainDispatcher : MarshalByRefObject { // MBR, since ref'ed by ProcessDispatcher. 574internal class SqlNotification : MarshalByRefObject {
System.Drawing (18)
commonui\System\Drawing\Advanced\CustomLineCap.cs (1)
24public class CustomLineCap : MarshalByRefObject, ICloneable, IDisposable {
commonui\System\Drawing\Advanced\Font.cs (1)
38public sealed class Font : MarshalByRefObject, ICloneable, ISerializable, IDisposable {
commonui\System\Drawing\Advanced\FontFamily.cs (1)
32public sealed class FontFamily : MarshalByRefObject, IDisposable {
commonui\System\Drawing\Advanced\GraphicsContainer.cs (1)
23public sealed class GraphicsContainer : MarshalByRefObject {
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
28public sealed class GraphicsPath : MarshalByRefObject, ICloneable, IDisposable {
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (1)
29public sealed class GraphicsPathIterator : MarshalByRefObject, IDisposable {
commonui\System\Drawing\Advanced\GraphicsState.cs (1)
17public sealed class GraphicsState : MarshalByRefObject {
commonui\System\Drawing\Advanced\Matrix.cs (1)
26public sealed class Matrix : MarshalByRefObject, IDisposable {
commonui\System\Drawing\Advanced\StringFormat.cs (1)
107public sealed class StringFormat : MarshalByRefObject, ICloneable, IDisposable {
commonui\System\Drawing\Brush.cs (1)
28public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable
commonui\System\Drawing\Graphics.cs (1)
35public sealed class Graphics : MarshalByRefObject, IDisposable, IDeviceContext
commonui\System\Drawing\Icon.cs (1)
42public sealed class Icon : MarshalByRefObject, ISerializable, ICloneable, IDisposable {
commonui\System\Drawing\Image.cs (1)
43public abstract class Image : MarshalByRefObject, ISerializable, ICloneable, IDisposable {
commonui\System\Drawing\Pen.cs (1)
27public sealed class Pen : MarshalByRefObject, ISystemColorTracker, ICloneable, IDisposable {
commonui\System\Drawing\Region.cs (1)
30public sealed class Region : MarshalByRefObject, IDisposable {
misc\GDI\DeviceContext.cs (1)
43sealed partial class DeviceContext : MarshalByRefObject, IDeviceContext, IDisposable
misc\GDI\WindowsGraphics.cs (1)
50sealed partial class WindowsGraphics : MarshalByRefObject, IDisposable, IDeviceContext
misc\GDI\WindowsRegion.cs (1)
36sealed partial class WindowsRegion : MarshalByRefObject, ICloneable, IDisposable
System.Messaging (2)
System\Messaging\MessageEnumerator.cs (1)
25public class MessageEnumerator : MarshalByRefObject, IEnumerator, IDisposable
System\Messaging\MessageQueueEnumerator.cs (1)
29public class MessageQueueEnumerator : MarshalByRefObject, IEnumerator, IDisposable
System.ServiceModel (4)
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
1590internal class DiscoveryBase : MarshalByRefObject, IDisposable
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
517class MbrObject : MarshalByRefObject
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1492class AllowHelper : MarshalByRefObject
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (1)
14class ComIntegrationManifestGenerator : MarshalByRefObject
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1532class ContextKey : MarshalByRefObject
System.Web (21)
Administration\WebAdminConfigurationHelper.cs (1)
25internal sealed class WebAdminConfigurationHelper : MarshalByRefObject, IRegisteredObject {
Compilation\BuildManagerHost.cs (1)
37internal class BuildManagerHost : MarshalByRefObject, IRegisteredObject {
Compilation\ClientBuildManager.cs (1)
107public sealed class ClientBuildManager : MarshalByRefObject, IDisposable {
Compilation\ClientBuildManagerCallback.cs (1)
25public class ClientBuildManagerCallback : MarshalByRefObject {
Compilation\ClientBuildManagerTypeDescriptionProviderBridge.cs (1)
12internal class ClientBuildManagerTypeDescriptionProviderBridge : MarshalByRefObject {
Hosting\AppDomainProtocolHandler.cs (1)
11public abstract class AppDomainProtocolHandler : MarshalByRefObject, IRegisteredObject {
Hosting\ApplicationManager.cs (1)
60public sealed class ApplicationManager : MarshalByRefObject {
Hosting\HostingEnvironment.cs (1)
98public sealed class HostingEnvironment : MarshalByRefObject {
Hosting\IPipelineRuntime.cs (1)
79internal sealed class PipelineRuntime : MarshalByRefObject, IPipelineRuntime, IRegisteredObject {
Hosting\ISAPIApplicationHost.cs (1)
25internal class ISAPIApplicationHost : MarshalByRefObject, IApplicationHost {
Hosting\ISAPIRuntime.cs (1)
91public sealed class ISAPIRuntime : MarshalByRefObject, IISAPIRuntime, IISAPIRuntime2, IRegisteredObject {
Hosting\MapPathBasedVirtualPathProvider.cs (2)
232internal class MapPathBasedVirtualPathCollection: MarshalByRefObject, IEnumerable { 251internal class MapPathBasedVirtualPathEnumerator : MarshalByRefObject, IEnumerator, IDisposable {
Hosting\PreloadHost.cs (1)
14internal sealed class PreloadHost : MarshalByRefObject, IRegisteredObject {
Hosting\ProcessHost.cs (2)
273public sealed class ProcessHost : MarshalByRefObject, 1317internal sealed class ListenerAdapterDispatchShim : MarshalByRefObject, IRegisteredObject {
Hosting\ProcessHostFactoryHelper.cs (1)
30public sealed class ProcessHostFactoryHelper : MarshalByRefObject, IProcessHostFactoryHelper {
Hosting\ProcessProtocolHandler.cs (1)
11public abstract class ProcessProtocolHandler : MarshalByRefObject {
Hosting\SimpleApplicationHost.cs (1)
22internal class SimpleApplicationHost : MarshalByRefObject, IApplicationHost {
Hosting\VirtualPathProvider.cs (2)
23public abstract class VirtualPathProvider: MarshalByRefObject { 309public abstract class VirtualFileBase: MarshalByRefObject {
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
17internal sealed class CustomLoaderHelper : MarshalByRefObject {
System.Windows.Forms (20)
misc\GDI\DeviceContext.cs (1)
43sealed partial class DeviceContext : MarshalByRefObject, IDeviceContext, IDisposable
misc\GDI\DeviceContext2.cs (1)
43sealed partial class DeviceContext : MarshalByRefObject, IDeviceContext, IDisposable
misc\GDI\WindowsBrush.cs (1)
37abstract class WindowsBrush : MarshalByRefObject, ICloneable, IDisposable
misc\GDI\WindowsFont.cs (1)
37sealed partial class WindowsFont : MarshalByRefObject, ICloneable, IDisposable
misc\GDI\WindowsGraphics.cs (1)
50sealed partial class WindowsGraphics : MarshalByRefObject, IDisposable, IDeviceContext
misc\GDI\WindowsGraphics2.cs (1)
36sealed partial class WindowsGraphics : MarshalByRefObject, IDisposable, IDeviceContext
misc\GDI\WindowsPen.cs (1)
35sealed partial class WindowsPen : MarshalByRefObject, ICloneable, IDisposable
misc\GDI\WindowsRegion.cs (1)
36sealed partial class WindowsRegion : MarshalByRefObject, ICloneable, IDisposable
winforms\Managed\System\WinForms\Application.cs (1)
2315internal sealed class ThreadContext : MarshalByRefObject, UnsafeNativeMethods.IMsoComponent {
winforms\Managed\System\WinForms\BaseCollection.cs (1)
19public class BaseCollection : MarshalByRefObject, ICollection {
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (2)
87internal sealed class ComponentManagerBroker : MarshalByRefObject { 250internal class ComponentManagerProxy : MarshalByRefObject, UnsafeNativeMethods.IMsoComponentManager, UnsafeNativeMethods.IMsoComponent {
winforms\Managed\System\WinForms\Control.cs (2)
16248private class ActiveXImpl : MarshalByRefObject, IWindowTarget { 19979internal sealed class FontHandleWrapper : MarshalByRefObject, IDisposable {
winforms\Managed\System\WinForms\DataGridRow.cs (1)
30internal abstract class DataGridRow : MarshalByRefObject {
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
19internal class DataGridToolTip : MarshalByRefObject {
winforms\Managed\System\WinForms\NativeWindow.cs (1)
43public class NativeWindow : MarshalByRefObject, IWin32Window {
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
20public class NumericUpDownAccelerationCollection : MarshalByRefObject, ICollection<NumericUpDownAcceleration>, IEnumerable<NumericUpDownAcceleration>
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (1)
30public class OwnerDrawPropertyBag : MarshalByRefObject, ISerializable {
winforms\Managed\System\WinForms\TreeNode.cs (1)
44public class TreeNode : MarshalByRefObject, ICloneable, ISerializable {
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompiler.cs (1)
662internal sealed class WorkflowCompilerInternal : MarshalByRefObject
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
43public sealed class DebugController : MarshalByRefObject
UIAutomationClient (1)
MS\Internal\Automation\EventListenerClientSide.cs (1)
25internal class EventListenerClientSide : MarshalByRefObject
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
42internal class MsaaNativeProvider : MarshalByRefObject,
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (1)
22internal class CompilationPass2TaskInternal : MarshalByRefObject
Microsoft\Build\Tasks\Xaml\DelegatingTaskItem.cs (1)
13internal class DelegatingTaskItem : MarshalByRefObject, ITaskItem
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (1)
25internal class PartialClassGenerationTaskInternal : MarshalByRefObject
199 references to MarshalByRefObject
mscorlib (182)
system\marshalbyrefobject.cs (7)
63internal static extern IntPtr GetComIUnknown(MarshalByRefObject o); 96protected MarshalByRefObject MemberwiseClone(bool cloneIdentity) 98MarshalByRefObject mbr = (MarshalByRefObject)base.MemberwiseClone(); 111internal static Identity GetIdentity(MarshalByRefObject obj, out bool fServer) 134internal static Identity GetIdentity(MarshalByRefObject obj) 238internal static bool CanCastToXmlTypeHelper(RuntimeType castType, MarshalByRefObject o)
system\rttype.cs (1)
4596return ((MarshalByRefObject)target).InvokeMember(name, bindingFlags, binder, providedArgs, modifiers, culture, namedParams);
system\runtime\interopservices\icustomfactory.cs (1)
15MarshalByRefObject CreateInstance(Type serverType);
system\runtime\remoting\activationservices.cs (11)
157private static MarshalByRefObject IsCurrentContextOK( 162MarshalByRefObject retObj = null; 202private static MarshalByRefObject CreateObjectForCom( 207MarshalByRefObject retObj = null; 226retObj = (MarshalByRefObject)Activator.CreateInstance(serverType, true); 446internal static MarshalByRefObject CreateInstance(RuntimeType serverType) 449MarshalByRefObject retObj = null; 479retObj = (MarshalByRefObject)ConnectIfNecessary(ctorCallMsg); 491retObj = (MarshalByRefObject)rp.GetTransparentProxy(); 786(MarshalByRefObject)serverObj, 1369new RedirectionProxy((MarshalByRefObject)server, activationType);
system\runtime\remoting\channelservices.cs (2)
392public static String[] GetUrlsForObject(MarshalByRefObject obj) 404Identity id = MarshalByRefObject.GetIdentity(obj, out fServer);
system\runtime\remoting\clientsponsor.cs (2)
46public bool Register(MarshalByRefObject obj) 62public void Unregister(MarshalByRefObject obj)
system\runtime\remoting\configuration.cs (2)
1553MarshalByRefObject obj = null; 1584obj = (MarshalByRefObject)Activator.CreateInstance(serverType, true);
system\runtime\remoting\context.cs (3)
453internal virtual IMessageSink CreateServerObjectChain(MarshalByRefObject serverObj) 483internal virtual IMessageSink CreateEnvoyChain(MarshalByRefObject objectOrProxy) 494MarshalByRefObject exposedObj = objectOrProxy;
system\runtime\remoting\enterpriseserviceshelper.cs (1)
44public static IConstructionReturnMessage CreateConstructionReturnMessage(IConstructionCallMessage ctorMsg, MarshalByRefObject retObj)
system\runtime\remoting\icontributeenvoysink.cs (1)
29IMessageSink GetEnvoySink(MarshalByRefObject obj, IMessageSink nextSink);
system\runtime\remoting\icontributeobjectsink.cs (1)
26IMessageSink GetObjectSink(MarshalByRefObject obj,
system\runtime\remoting\identity.cs (2)
349internal MarshalByRefObject TPOrObject 353return (MarshalByRefObject) _tpOrObject;
system\runtime\remoting\identityholder.cs (11)
265MarshalByRefObject obj, String objURI, int flags) 272srvID = (ServerIdentity) MarshalByRefObject.GetIdentity(obj, out fServer); 296Contract.Assert(srvID == MarshalByRefObject.GetIdentity(obj), "Bad ID state!" ); 772internal static bool AddDynamicProperty(MarshalByRefObject obj, IDynamicProperty prop) 782MarshalByRefObject realObj = 783(MarshalByRefObject) 786ServerIdentity srvID = (ServerIdentity)MarshalByRefObject.GetIdentity(realObj); 802internal static bool RemoveDynamicProperty(MarshalByRefObject obj, String name) 813MarshalByRefObject realObj = 814(MarshalByRefObject) 818ServerIdentity srvID = (ServerIdentity)MarshalByRefObject.GetIdentity(realObj);
system\runtime\remoting\lease.cs (2)
46internal MarshalByRefObject managedObject; 57MarshalByRefObject managedObject
system\runtime\remoting\leasemanager.cs (2)
128internal ILease GetLease(MarshalByRefObject obj) 132Identity idObj = MarshalByRefObject.GetIdentity(obj, out fServer);
system\runtime\remoting\lifetimeservices.cs (6)
172internal static ILease GetLeaseInitial(MarshalByRefObject obj) 186internal static ILease GetLease(MarshalByRefObject obj) 202internal static ILease CreateLease(MarshalByRefObject obj) 214MarshalByRefObject obj 263public IMessageSink GetObjectSink(MarshalByRefObject obj, 268ServerIdentity identity = (ServerIdentity)MarshalByRefObject.GetIdentity(obj, out fServer);
system\runtime\remoting\message.cs (7)
625valueName = typeof(MarshalByRefObject).ToString(); 797valueName = typeof(MarshalByRefObject).ToString(); 904private MarshalByRefObject _o; 908public ConstructorReturnMessage(MarshalByRefObject o, Object[] outArgs, int outArgsCount, 2926MarshalByRefObject mbr = handlerObject as MarshalByRefObject; 2930srvID = MarshalByRefObject.GetIdentity(mbr, out fServer) as ServerIdentity;
system\runtime\remoting\messagesmuggler.cs (3)
74MarshalByRefObject mbo = arg as MarshalByRefObject; 87ServerIdentity srvId = (ServerIdentity)MarshalByRefObject.GetIdentity(mbo);
system\runtime\remoting\objecthandle.cs (2)
72MarshalByRefObject mbr = WrappedObject as MarshalByRefObject;
system\runtime\remoting\objref.cs (6)
116if ((castType == typeof(MarshalByRefObject)) || 189while ((currType != typeof(MarshalByRefObject)) && 297return((MarshalByRefObject)o).IsInstanceOfType(castType); 449public ObjRef(MarshalByRefObject o, Type requestedType) 461Identity id = MarshalByRefObject.GetIdentity(o, out fServer); 968MarshalByRefObject obj = idObj.TPOrObject;
system\runtime\remoting\proxyattribute.cs (2)
39public virtual MarshalByRefObject CreateInstance(Type serverType) 63internal MarshalByRefObject CreateInstanceInternal(RuntimeType serverType)
system\runtime\remoting\realproxy.cs (19)
84private MarshalByRefObject _serverObject; 200MarshalByRefObject proxy = (MarshalByRefObject)GetTransparentProxy(); 249protected MarshalByRefObject GetUnwrappedServer() 255protected MarshalByRefObject DetachServer() 260MarshalByRefObject server = _serverObject; 267protected void AttachServer(MarshalByRefObject s) 281(MarshalByRefObject)_serverObject, 344internal void AttachServerHelper(MarshalByRefObject s) 403return new ObjRef((MarshalByRefObject)GetTransparentProxy(), requestedType); 649return MarshalByRefObject.GetComIUnknown((MarshalByRefObject)GetTransparentProxy()); 668internal MarshalByRefObject UnwrappedServerObject 670get { return (MarshalByRefObject) _serverObject; } 772new ConstructorReturnMessage((MarshalByRefObject)GetTransparentProxy(), 863MarshalByRefObject retObj = null; 878retObj = (MarshalByRefObject)crm.GetObject(); 888retObj = (MarshalByRefObject)RemotingServices.InternalUnmarshal( 900if (retObj != (MarshalByRefObject)GetTransparentProxy())
system\runtime\remoting\redirectionproxy.cs (7)
19private MarshalByRefObject _proxy; 26internal RedirectionProxy(MarshalByRefObject proxy, Type serverType) 57MarshalByRefObject obj = (MarshalByRefObject)Activator.CreateInstance(_serverType, true); 103private MarshalByRefObject _comObject; 106internal ComRedirectionProxy(MarshalByRefObject comObject, Type serverType) 134_comObject = (MarshalByRefObject)Activator.CreateInstance(_serverType, true);
system\runtime\remoting\remotingproxy.cs (10)
34private static RuntimeType s_typeofMarshalByRefObject = (RuntimeType)typeof(System.MarshalByRefObject); 604pUnk = MarshalByRefObject.GetComIUnknown((MarshalByRefObject)otp); 609pUnk = MarshalByRefObject.GetComIUnknown((MarshalByRefObject)otp); 619pUnk = ((MarshalByRefObject)otp).GetComIUnknown(fIsBeingMarshalled); 624pUnk = MarshalByRefObject.GetComIUnknown((MarshalByRefObject)otp); 687fCastOK = MarshalByRefObject.CanCastToXmlTypeHelper(rtType, (MarshalByRefObject)o);
system\runtime\remoting\remotingservices.cs (43)
119MarshalByRefObject mbr = obj as MarshalByRefObject; 126Identity id = MarshalByRefObject.GetIdentity(mbr, out fServer); 237internal static extern MarshalByRefObject AllocateUninitializedObject( 247internal static MarshalByRefObject AllocateUninitializedObject( 270internal static extern MarshalByRefObject AllocateInitializedObject( 275internal static MarshalByRefObject AllocateInitializedObject( 356public static Object GetLifetimeService(MarshalByRefObject obj) 369public static String GetObjectUri(MarshalByRefObject obj) 376Identity id = MarshalByRefObject.GetIdentity(obj, out fServer); 387public static void SetObjectUriForMarshal( MarshalByRefObject obj, String uri) 398idObj = MarshalByRefObject.GetIdentity(obj, out fServer); 438Contract.Assert(idObj == MarshalByRefObject.GetIdentity(obj), "Bad ID state!" ); 463public static ObjRef Marshal(MarshalByRefObject Obj) 470public static ObjRef Marshal(MarshalByRefObject Obj, String URI) 477public static ObjRef Marshal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 484internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 490internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData) 497internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData, bool isInitializing) 570MarshalByRefObject obj = null; 667MarshalByRefObject Obj, 824(MarshalByRefObject)obj, 860public static bool Disconnect(MarshalByRefObject obj) 866internal static bool Disconnect(MarshalByRefObject obj, bool bResetURI) 881Identity idrem = MarshalByRefObject.GetIdentity(obj, out fServer); 919public static IMessageSink GetEnvoyChainForProxy(MarshalByRefObject obj) 938public static ObjRef GetObjRefForProxy(MarshalByRefObject obj) 1080idObj = MarshalByRefObject.GetIdentity(obj); 1110CreateEnvoyAndChannelSinks((MarshalByRefObject)proxy, null, out chnlSink, out envoySink); 1196typeof(System.MarshalByRefObject), 1271(MarshalByRefObject)serverID.TPOrObject, 1363serverType = typeof(System.MarshalByRefObject); 1478private static MarshalByRefObject SetOrCreateProxy( 1534return (MarshalByRefObject)proxy; 1552MarshalByRefObject tpOrObject, 1844ServerIdentity si = (ServerIdentity)MarshalByRefObject.GetIdentity(Thread.CurrentContext.AppDomain); 2004typeof(MarshalByRefObject).GetMethod( 2011typeof(MarshalByRefObject).GetMethod( 2018typeof(MarshalByRefObject).GetMethod( 2317internal static Context GetServerContext(MarshalByRefObject obj) 2390MarshalByRefObject mbro = o as MarshalByRefObject; 2463public static IMethodReturnMessage ExecuteMessage(MarshalByRefObject target,
system\runtime\remoting\serveridentity.cs (10)
131internal ServerIdentity(MarshalByRefObject obj, Context serverCtx) : base(obj is ContextBoundObject) 153internal ServerIdentity(MarshalByRefObject obj, Context serverCtx, String uri) : 191internal IMessageSink GetServerObjectChain(out MarshalByRefObject obj) 209MarshalByRefObject srvObj = 210(MarshalByRefObject) 258MarshalByRefObject srvObj = null; 264srvObj = (MarshalByRefObject) _tpOrObject; 277srvObj = (MarshalByRefObject) 442BCLDebug.Assert(MarshalByRefObject.GetIdentity((MarshalByRefObject)this.TPOrObject) == this, "Server ID mismatch with Object");
system\runtime\remoting\stackbuildersink.cs (4)
42public StackBuilderSink(MarshalByRefObject server) 368MarshalByRefObject mbr = server as MarshalByRefObject; 372Identity id = MarshalByRefObject.GetIdentity(mbr, out fServer);
system\runtime\remoting\terminatorsinks.cs (4)
614MarshalByRefObject obj = null; 652MarshalByRefObject obj; 679internal virtual IMessageSink GetObjectChain(IMessage reqMsg,out MarshalByRefObject obj) 739internal ServerObjectTerminatorSink(MarshalByRefObject srvObj)
system\runtime\serialization\formatters\binary\binaryconverter.cs (1)
532internal static Type typeofMarshalByRefObject = typeof(System.MarshalByRefObject);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
460if (typeof(MarshalByRefObject).IsAssignableFrom(t))
system\runtime\serialization\objectclonehelper.cs (5)
45objectType = typeof(MarshalByRefObject); 54else if (RemotingServices.IsTransparentProxy(serObj) || serObj is MarshalByRefObject) 61ObjRef objRef = RemotingServices.MarshalInternal((MarshalByRefObject)serObj, null, null); 72ServerIdentity srvId = (ServerIdentity)MarshalByRefObject.GetIdentity((MarshalByRefObject)serObj);
system\runtime\serialization\objectmanager.cs (2)
533si.UpdateValue((String)fixupInfo, holderValue, typeof(MarshalByRefObject)); 763selectorType = typeof(MarshalByRefObject);
system\type.cs (1)
1331return typeof(MarshalByRefObject).IsAssignableFrom(this);
PresentationFramework (1)
src\Framework\System\Windows\Application.cs (1)
2044ILease lease = RemotingServices.GetLifetimeService(_browserCallbackServices as MarshalByRefObject) as ILease;
System.Core (2)
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (2)
173var value = args[i] as MarshalByRefObject;
System.Runtime.Remoting (6)
channels\http\httpremotinghandler.cs (1)
511if (typeof(MarshalByRefObject).IsAssignableFrom(type))
channels\sinks\binaryformattersinks.cs (1)
596if (requestMsg is MarshalByRefObject && !AppSettings.AllowTransparentProxyMessage)
metadata\wsdlparser.cs (2)
3604baseType = typeof(MarshalByRefObject); 3606baseType = typeof(MarshalByRefObject);
metadata\wsdlwriter.cs (2)
811private static Type s_marshalByRefType = typeof(System.MarshalByRefObject); 2175else if (typeof(MarshalByRefObject).IsAssignableFrom(type))
System.ServiceModel (6)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
79typeof(MarshalByRefObject), new Type[] { interfaceType });
System\ServiceModel\ComIntegration\MonikerBuilder.cs (3)
72public static MarshalByRefObject CreateMonikerInstance() 78MarshalByRefObject ret = EnterpriseServicesHelper.WrapIUnknownWithComObject(ppv) as MarshalByRefObject;
System\ServiceModel\ComIntegration\MonikerProxyAttribute.cs (2)
13public override MarshalByRefObject CreateInstance(Type serverType) 22MarshalByRefObject ICustomFactory.CreateInstance(Type serverType)
System.Web (2)
Hosting\ApplicationManager.cs (2)
736MarshalByRefObject realApplicationHost = appHost as MarshalByRefObject;