Improve Dictionary TryGetValue size/perfomance (dotnet/coreclr#27195)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / MarshalByRefObject.cs
bloba083c97c9d75d1a97741814b479516516ac9c57f
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System.Runtime.InteropServices;
7 namespace System
9 [ClassInterface(ClassInterfaceType.AutoDispatch)]
10 [ComVisible(true)]
11 public abstract class MarshalByRefObject
13 protected MarshalByRefObject()
17 public object GetLifetimeService()
19 throw new PlatformNotSupportedException(SR.PlatformNotSupported_Remoting);
22 public virtual object InitializeLifetimeService()
24 throw new PlatformNotSupportedException(SR.PlatformNotSupported_Remoting);
27 protected MarshalByRefObject MemberwiseClone(bool cloneIdentity)
29 MarshalByRefObject mbr = (MarshalByRefObject)base.MemberwiseClone();
30 return mbr;