213 lines
9.4 KiB
C#
213 lines
9.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Remoting.Contexts;
|
|
using System.Runtime.Remoting.Messaging;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting.Proxies
|
|
{
|
|
/// <summary>Provides base functionality for proxies.</summary>
|
|
// Token: 0x020004DE RID: 1246
|
|
[Token(Token = "0x20004DE")]
|
|
[ComVisible(true)]
|
|
[StructLayout(0)]
|
|
public abstract class RealProxy
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> class with default values.</summary>
|
|
// Token: 0x060029DB RID: 10715 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029DB")]
|
|
[Address(RVA = "0x2C09770", Offset = "0x2C08770", VA = "0x182C09770")]
|
|
protected RealProxy()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> class that represents a remote object of the specified <see cref="T:System.Type" />.</summary>
|
|
/// <param name="classToProxy">The <see cref="T:System.Type" /> of the remote object for which to create a proxy.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="classToProxy" /> is not an interface, and is not derived from <see cref="T:System.MarshalByRefObject" />.</exception>
|
|
// Token: 0x060029DC RID: 10716 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029DC")]
|
|
[Address(RVA = "0x2C098F0", Offset = "0x2C088F0", VA = "0x182C098F0")]
|
|
protected RealProxy(Type classToProxy)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060029DD RID: 10717 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029DD")]
|
|
[Address(RVA = "0x2C09880", Offset = "0x2C08880", VA = "0x182C09880")]
|
|
internal RealProxy(Type classToProxy, ClientIdentity identity)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> class.</summary>
|
|
/// <param name="classToProxy">The <see cref="T:System.Type" /> of the remote object for which to create a proxy.</param>
|
|
/// <param name="stub">A stub to associate with the new proxy instance.</param>
|
|
/// <param name="stubData">The stub data to set for the specified stub and the new proxy instance.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="classToProxy" /> is not an interface, and is not derived from <see cref="T:System.MarshalByRefObject" />.</exception>
|
|
// Token: 0x060029DE RID: 10718 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029DE")]
|
|
[Address(RVA = "0x2C09780", Offset = "0x2C08780", VA = "0x182C09780")]
|
|
protected RealProxy(Type classToProxy, IntPtr stub, object stubData)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060029DF RID: 10719 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029DF")]
|
|
[Address(RVA = "0x2C08A30", Offset = "0x2C07A30", VA = "0x182C08A30")]
|
|
private static Type InternalGetProxyType(object transparentProxy)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the <see cref="T:System.Type" /> of the object that the current instance of <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> represents.</summary>
|
|
/// <returns>The <see cref="T:System.Type" /> of the object that the current instance of <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> represents.</returns>
|
|
// Token: 0x060029E0 RID: 10720 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029E0")]
|
|
[Address(RVA = "0x2C08890", Offset = "0x2C07890", VA = "0x182C08890")]
|
|
public Type GetProxiedType()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Adds the transparent proxy of the object represented by the current instance of <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" /> to the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" />.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> into which the transparent proxy is serialized.</param>
|
|
/// <param name="context">The source and destination of the serialization.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> or <paramref name="context" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have SerializationFormatter permission.</exception>
|
|
// Token: 0x060029E1 RID: 10721 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029E1")]
|
|
[Address(RVA = "0x2C087F0", Offset = "0x2C077F0", VA = "0x182C087F0", Slot = "4")]
|
|
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170005F7 RID: 1527
|
|
// (get) Token: 0x060029E2 RID: 10722 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x060029E3 RID: 10723 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170005F7")]
|
|
internal Identity ObjectIdentity
|
|
{
|
|
[Token(Token = "0x60029E2")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60029E3")]
|
|
[Address(RVA = "0x41CFF0", Offset = "0x41BFF0", VA = "0x18041CFF0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, invokes the method that is specified in the provided <see cref="T:System.Runtime.Remoting.Messaging.IMessage" /> on the remote object that is represented by the current instance.</summary>
|
|
/// <param name="msg">A <see cref="T:System.Runtime.Remoting.Messaging.IMessage" /> that contains a <see cref="T:System.Collections.IDictionary" /> of information about the method call.</param>
|
|
/// <returns>The message returned by the invoked method, containing the return value and any <see langword="out" /> or <see langword="ref" /> parameters.</returns>
|
|
// Token: 0x060029E4 RID: 10724
|
|
[Token(Token = "0x60029E4")]
|
|
[Address(Slot = "5")]
|
|
public abstract IMessage Invoke(IMessage msg);
|
|
|
|
// Token: 0x060029E5 RID: 10725 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029E5")]
|
|
[Address(RVA = "0x2C08A50", Offset = "0x2C07A50", VA = "0x182C08A50")]
|
|
internal static object PrivateInvoke(RealProxy rp, IMessage msg, out Exception exc, out object[] out_args)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060029E6 RID: 10726 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029E6")]
|
|
[Address(RVA = "0x2C08A40", Offset = "0x2C07A40", VA = "0x182C08A40", Slot = "6")]
|
|
internal virtual object InternalGetTransparentProxy(string className)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the transparent proxy for the current instance of <see cref="T:System.Runtime.Remoting.Proxies.RealProxy" />.</summary>
|
|
/// <returns>The transparent proxy for the current proxy instance.</returns>
|
|
// Token: 0x060029E7 RID: 10727 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029E7")]
|
|
[Address(RVA = "0x2C08920", Offset = "0x2C07920", VA = "0x182C08920", Slot = "7")]
|
|
public virtual object GetTransparentProxy()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Attaches the current proxy instance to the specified remote <see cref="T:System.MarshalByRefObject" />.</summary>
|
|
/// <param name="s">The <see cref="T:System.MarshalByRefObject" /> that the current proxy instance represents.</param>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have UnmanagedCode permission.</exception>
|
|
// Token: 0x060029E8 RID: 10728 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029E8")]
|
|
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
|
|
protected void AttachServer(MarshalByRefObject s)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060029E9 RID: 10729 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029E9")]
|
|
[Address(RVA = "0x5AB430", Offset = "0x5AA430", VA = "0x1805AB430")]
|
|
internal void SetTargetDomain(int domainId)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060029EA RID: 10730 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029EA")]
|
|
[Address(RVA = "0x2C086E0", Offset = "0x2C076E0", VA = "0x182C086E0")]
|
|
internal object GetAppDomainTarget()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060029EB RID: 10731 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60029EB")]
|
|
[Address(RVA = "0x2C091F0", Offset = "0x2C081F0", VA = "0x182C091F0")]
|
|
private static object[] ProcessResponse(IMethodReturnMessage mrm, MonoMethodMessage call)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04001826 RID: 6182
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001826")]
|
|
private Type class_to_proxy;
|
|
|
|
// Token: 0x04001827 RID: 6183
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001827")]
|
|
internal Context _targetContext;
|
|
|
|
// Token: 0x04001828 RID: 6184
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001828")]
|
|
internal MarshalByRefObject _server;
|
|
|
|
// Token: 0x04001829 RID: 6185
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4001829")]
|
|
private int _targetDomainId;
|
|
|
|
// Token: 0x0400182A RID: 6186
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400182A")]
|
|
internal string _targetUri;
|
|
|
|
// Token: 0x0400182B RID: 6187
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400182B")]
|
|
internal Identity _objectIdentity;
|
|
|
|
// Token: 0x0400182C RID: 6188
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400182C")]
|
|
private object _objTP;
|
|
|
|
// Token: 0x0400182D RID: 6189
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400182D")]
|
|
private object _stubData;
|
|
}
|
|
}
|