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: 0x020004C0 RID: 1216
[Token(Token = "0x20004C0")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Class)]
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: 0x060027C5 RID: 10181 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027C5")]
[Address(RVA = "0x25BF820", Offset = "0x25BE620", VA = "0x1825BF820", 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: 0x060027C6 RID: 10182 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027C6")]
[Address(RVA = "0x25BF930", Offset = "0x25BE730", VA = "0x1825BF930", Slot = "8")]
public virtual RealProxy CreateProxy(ObjRef objRef, Type serverType, object serverObject, Context serverContext)
{
return null;
}
}
}