Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Runtime/Remoting/Proxies/RealProxy.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x020004C2 RID: 1218
[Token(Token = "0x20004C2")]
[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: 0x060027CE RID: 10190 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027CE")]
[Address(RVA = "0x25C09C0", Offset = "0x25BF7C0", VA = "0x1825C09C0")]
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: 0x060027CF RID: 10191 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027CF")]
[Address(RVA = "0x25C0B40", Offset = "0x25BF940", VA = "0x1825C0B40")]
protected RealProxy(Type classToProxy)
{
}
// Token: 0x060027D0 RID: 10192 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027D0")]
[Address(RVA = "0x25C0AD0", Offset = "0x25BF8D0", VA = "0x1825C0AD0")]
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: 0x060027D1 RID: 10193 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027D1")]
[Address(RVA = "0x25C09D0", Offset = "0x25BF7D0", VA = "0x1825C09D0")]
protected RealProxy(Type classToProxy, IntPtr stub, object stubData)
{
}
// Token: 0x060027D2 RID: 10194 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027D2")]
[Address(RVA = "0x25BFCE0", Offset = "0x25BEAE0", VA = "0x1825BFCE0")]
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: 0x060027D3 RID: 10195 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027D3")]
[Address(RVA = "0x25BFB40", Offset = "0x25BE940", VA = "0x1825BFB40")]
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: 0x060027D4 RID: 10196 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027D4")]
[Address(RVA = "0x25BFAB0", Offset = "0x25BE8B0", VA = "0x1825BFAB0", Slot = "4")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x1700057F RID: 1407
// (get) Token: 0x060027D5 RID: 10197 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060027D6 RID: 10198 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700057F")]
internal Identity ObjectIdentity
{
[Token(Token = "0x60027D5")]
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
get
{
return null;
}
[Token(Token = "0x60027D6")]
[Address(RVA = "0x5329E0", Offset = "0x5317E0", VA = "0x1805329E0")]
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: 0x060027D7 RID: 10199
[Token(Token = "0x60027D7")]
[Address(Slot = "5")]
public abstract IMessage Invoke(IMessage msg);
// Token: 0x060027D8 RID: 10200 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027D8")]
[Address(RVA = "0x25BFD00", Offset = "0x25BEB00", VA = "0x1825BFD00")]
internal static object PrivateInvoke(RealProxy rp, IMessage msg, out Exception exc, out object[] out_args)
{
return null;
}
// Token: 0x060027D9 RID: 10201 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027D9")]
[Address(RVA = "0x25BFCF0", Offset = "0x25BEAF0", VA = "0x1825BFCF0", 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: 0x060027DA RID: 10202 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027DA")]
[Address(RVA = "0x25BFBD0", Offset = "0x25BE9D0", VA = "0x1825BFBD0", 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: 0x060027DB RID: 10203 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027DB")]
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
protected void AttachServer(MarshalByRefObject s)
{
}
// Token: 0x060027DC RID: 10204 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027DC")]
[Address(RVA = "0x42EFF0", Offset = "0x42DDF0", VA = "0x18042EFF0")]
internal void SetTargetDomain(int domainId)
{
}
// Token: 0x060027DD RID: 10205 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027DD")]
[Address(RVA = "0x25BF9A0", Offset = "0x25BE7A0", VA = "0x1825BF9A0")]
internal object GetAppDomainTarget()
{
return null;
}
// Token: 0x060027DE RID: 10206 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027DE")]
[Address(RVA = "0x25C0440", Offset = "0x25BF240", VA = "0x1825C0440")]
private static object[] ProcessResponse(IMethodReturnMessage mrm, MonoMethodMessage call)
{
return null;
}
// Token: 0x04001763 RID: 5987
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001763")]
private Type class_to_proxy;
// Token: 0x04001764 RID: 5988
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001764")]
internal Context _targetContext;
// Token: 0x04001765 RID: 5989
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001765")]
internal MarshalByRefObject _server;
// Token: 0x04001766 RID: 5990
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001766")]
private int _targetDomainId;
// Token: 0x04001767 RID: 5991
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001767")]
internal string _targetUri;
// Token: 0x04001768 RID: 5992
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001768")]
internal Identity _objectIdentity;
// Token: 0x04001769 RID: 5993
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001769")]
private object _objTP;
// Token: 0x0400176A RID: 5994
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400176A")]
private object _stubData;
}
}