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 ();
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
);