[2020-02][System.Native] Handle ReadDir EINTR (#21029)
[mono-project.git] / mcs / class / corlib / legacy / ActivationServices.cs
blob3bf76219f5efe21c021b79e416e593d80e761e68
1 using System.Runtime.CompilerServices;
3 namespace System.Runtime.Remoting.Activation
5 internal static class ActivationServices
7 #region Keep this code, it is used by the runtime
8 // Called from the runtime.
9 public static object CreateProxyForType (Type type)
11 throw new PlatformNotSupportedException ();
13 #endregion
15 // Allocates an uninitialized instance. It never creates proxies.
16 [MethodImplAttribute(MethodImplOptions.InternalCall)]
17 public static extern object AllocateUninitializedClassInstance (Type type);
19 [MethodImplAttribute(MethodImplOptions.InternalCall)]
20 public extern static void EnableProxyActivation (Type type, bool enable);