using System; using System.Runtime.InteropServices; using System.Runtime.Remoting.Contexts; using Cpp2IlInjected; namespace System.Runtime.Remoting.Proxies { /// Indicates that an object type requires a custom proxy. // Token: 0x020004DC RID: 1244 [Token(Token = "0x20004DC")] [AttributeUsage(AttributeTargets.Class)] [ComVisible(true)] public class ProxyAttribute : Attribute { /// Creates either an uninitialized or a transparent proxy, depending on whether the specified type can exist in the current context. /// The object type to create an instance of. /// An uninitialized or a transparent proxy. // Token: 0x060029D2 RID: 10706 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60029D2")] [Address(RVA = "0x2C08450", Offset = "0x2C07450", VA = "0x182C08450", Slot = "7")] public virtual MarshalByRefObject CreateInstance(Type serverType) { return null; } /// Creates an instance of a remoting proxy for a remote object described by the specified , and located on the server. /// The object reference to the remote object for which to create a proxy. /// The type of the server where the remote object is located. /// The server object. /// The context in which the server object is located. /// The new instance of remoting proxy for the remote object that is described in the specified . // Token: 0x060029D3 RID: 10707 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60029D3")] [Address(RVA = "0x2C08590", Offset = "0x2C07590", VA = "0x182C08590", Slot = "8")] public virtual RealProxy CreateProxy(ObjRef objRef, Type serverType, object serverObject, Context serverContext) { return null; } } }