diff options
Diffstat (limited to 'src/mscorlib/src/System/MarshalByRefObject.cs')
-rw-r--r-- | src/mscorlib/src/System/MarshalByRefObject.cs | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/mscorlib/src/System/MarshalByRefObject.cs b/src/mscorlib/src/System/MarshalByRefObject.cs index 53ebda7672..9014de00c7 100644 --- a/src/mscorlib/src/System/MarshalByRefObject.cs +++ b/src/mscorlib/src/System/MarshalByRefObject.cs @@ -2,32 +2,25 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -/*============================================================ -** -** -** -** -** Purpose: Defines the root type for all marshal by reference aka -** AppDomain bound types -** -** -** -===========================================================*/ namespace System { [Serializable] - [System.Runtime.InteropServices.ComVisible(true)] - public abstract class MarshalByRefObject + public abstract class MarshalByRefObject { - protected MarshalByRefObject() { } + protected MarshalByRefObject() + { + } + public object GetLifetimeService() { throw new PlatformNotSupportedException(); } + public virtual object InitializeLifetimeService() { throw new PlatformNotSupportedException(); } + protected MarshalByRefObject MemberwiseClone(bool cloneIdentity) { MarshalByRefObject mbr = (MarshalByRefObject)base.MemberwiseClone(); |