oh dear
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Contexts;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Proxies
|
||||
{
|
||||
/// <summary>Indicates that an object type requires a custom proxy.</summary>
|
||||
// Token: 0x020004C0 RID: 1216
|
||||
[Token(Token = "0x20004C0")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class ProxyAttribute : Attribute
|
||||
{
|
||||
/// <summary>Creates either an uninitialized <see cref="T:System.MarshalByRefObject" /> or a transparent proxy, depending on whether the specified type can exist in the current context.</summary>
|
||||
/// <param name="serverType">The object type to create an instance of.</param>
|
||||
/// <returns>An uninitialized <see cref="T:System.MarshalByRefObject" /> or a transparent proxy.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of a remoting proxy for a remote object described by the specified <see cref="T:System.Runtime.Remoting.ObjRef" />, and located on the server.</summary>
|
||||
/// <param name="objRef">The object reference to the remote object for which to create a proxy.</param>
|
||||
/// <param name="serverType">The type of the server where the remote object is located.</param>
|
||||
/// <param name="serverObject">The server object.</param>
|
||||
/// <param name="serverContext">The context in which the server object is located.</param>
|
||||
/// <returns>The new instance of remoting proxy for the remote object that is described in the specified <see cref="T:System.Runtime.Remoting.ObjRef" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user