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