Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/Remoting/ObjRef.cs
T
2026-04-10 22:50:51 +02:00

239 lines
9.2 KiB
C#

using System;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.Remoting
{
/// <summary>Stores all relevant information required to generate a proxy in order to communicate with a remote object.</summary>
// Token: 0x020004A9 RID: 1193
[Token(Token = "0x20004A9")]
[ComVisible(true)]
[Serializable]
public class ObjRef : IObjectReference, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class with default values.</summary>
// Token: 0x0600270A RID: 9994 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600270A")]
[Address(RVA = "0x25BED60", Offset = "0x25BDB60", VA = "0x1825BED60")]
public ObjRef()
{
}
// Token: 0x0600270B RID: 9995 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600270B")]
[Address(RVA = "0x579630", Offset = "0x578430", VA = "0x180579630")]
internal ObjRef(string uri, IChannelInfo cinfo)
{
}
// Token: 0x0600270C RID: 9996 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600270C")]
[Address(RVA = "0x25BE820", Offset = "0x25BD620", VA = "0x1825BE820")]
internal ObjRef DeserializeInTheCurrentDomain(int domainId, byte[] tInfo)
{
return null;
}
// Token: 0x0600270D RID: 9997 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600270D")]
[Address(RVA = "0x25BEB50", Offset = "0x25BD950", VA = "0x1825BEB50")]
internal byte[] SerializeType()
{
return null;
}
// Token: 0x0600270E RID: 9998 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600270E")]
[Address(RVA = "0x25BEC80", Offset = "0x25BDA80", VA = "0x1825BEC80")]
internal ObjRef(Type type, string url, object remoteChannelData)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class from serialized data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination of the exception.</param>
// Token: 0x0600270F RID: 9999 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600270F")]
[Address(RVA = "0x25BEDC0", Offset = "0x25BDBC0", VA = "0x1825BEDC0")]
protected ObjRef(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x17000563 RID: 1379
// (get) Token: 0x06002710 RID: 10000 RVA: 0x00016098 File Offset: 0x00014298
[Token(Token = "0x17000563")]
internal bool IsReferenceToWellKnow
{
[Token(Token = "0x6002710")]
[Address(RVA = "0x25BF0E0", Offset = "0x25BDEE0", VA = "0x1825BF0E0")]
get
{
return default(bool);
}
}
/// <summary>Gets or sets the <see cref="T:System.Runtime.Remoting.IChannelInfo" /> for the <see cref="T:System.Runtime.Remoting.ObjRef" />.</summary>
/// <returns>The <see cref="T:System.Runtime.Remoting.IChannelInfo" /> interface for the <see cref="T:System.Runtime.Remoting.ObjRef" />.</returns>
// Token: 0x17000564 RID: 1380
// (get) Token: 0x06002711 RID: 10001 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000564")]
public virtual IChannelInfo ChannelInfo
{
[Token(Token = "0x6002711")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
get
{
return null;
}
}
/// <summary>Gets or sets the <see cref="T:System.Runtime.Remoting.IEnvoyInfo" /> for the <see cref="T:System.Runtime.Remoting.ObjRef" />.</summary>
/// <returns>The <see cref="T:System.Runtime.Remoting.IEnvoyInfo" /> interface for the <see cref="T:System.Runtime.Remoting.ObjRef" />.</returns>
// Token: 0x17000565 RID: 1381
// (get) Token: 0x06002712 RID: 10002 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002713 RID: 10003 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000565")]
public virtual IEnvoyInfo EnvoyInfo
{
[Token(Token = "0x6002712")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "7")]
get
{
return null;
}
[Token(Token = "0x6002713")]
[Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60", Slot = "8")]
set
{
}
}
/// <summary>Gets or sets the <see cref="T:System.Runtime.Remoting.IRemotingTypeInfo" /> for the object that the <see cref="T:System.Runtime.Remoting.ObjRef" /> describes.</summary>
/// <returns>The <see cref="T:System.Runtime.Remoting.IRemotingTypeInfo" /> for the object that the <see cref="T:System.Runtime.Remoting.ObjRef" /> describes.</returns>
// Token: 0x17000566 RID: 1382
// (get) Token: 0x06002714 RID: 10004 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002715 RID: 10005 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000566")]
public virtual IRemotingTypeInfo TypeInfo
{
[Token(Token = "0x6002714")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "9")]
get
{
return null;
}
[Token(Token = "0x6002715")]
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90", Slot = "10")]
set
{
}
}
/// <summary>Gets or sets the URI of the specific object instance.</summary>
/// <returns>The URI of the specific object instance.</returns>
// Token: 0x17000567 RID: 1383
// (get) Token: 0x06002716 RID: 10006 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002717 RID: 10007 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000567")]
public virtual string URI
{
[Token(Token = "0x6002716")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "11")]
get
{
return null;
}
[Token(Token = "0x6002717")]
[Address(RVA = "0x3F7210", Offset = "0x3F6010", VA = "0x1803F7210", Slot = "12")]
set
{
}
}
/// <summary>Populates a specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the current <see cref="T:System.Runtime.Remoting.ObjRef" /> instance.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="context">The contextual information about the source or destination of the serialization.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have serialization formatter permission.</exception>
// Token: 0x06002718 RID: 10008 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002718")]
[Address(RVA = "0x25BE910", Offset = "0x25BD710", VA = "0x1825BE910", Slot = "13")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Returns a reference to the remote object that the <see cref="T:System.Runtime.Remoting.ObjRef" /> describes.</summary>
/// <param name="context">The context where the current object resides.</param>
/// <returns>A reference to the remote object that the <see cref="T:System.Runtime.Remoting.ObjRef" /> describes.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have serialization formatter permission.</exception>
// Token: 0x06002719 RID: 10009 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002719")]
[Address(RVA = "0x25BEA60", Offset = "0x25BD860", VA = "0x1825BEA60", Slot = "14")]
public virtual object GetRealObject(StreamingContext context)
{
return null;
}
// Token: 0x0600271A RID: 10010 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600271A")]
[Address(RVA = "0x25BEBE0", Offset = "0x25BD9E0", VA = "0x1825BEBE0")]
internal void UpdateChannelInfo()
{
}
// Token: 0x17000568 RID: 1384
// (get) Token: 0x0600271B RID: 10011 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000568")]
internal Type ServerType
{
[Token(Token = "0x600271B")]
[Address(RVA = "0x25BF150", Offset = "0x25BDF50", VA = "0x1825BF150")]
get
{
return null;
}
}
// Token: 0x0400170F RID: 5903
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400170F")]
private IChannelInfo channel_info;
// Token: 0x04001710 RID: 5904
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001710")]
private string uri;
// Token: 0x04001711 RID: 5905
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001711")]
private IRemotingTypeInfo typeInfo;
// Token: 0x04001712 RID: 5906
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001712")]
private IEnvoyInfo envoyInfo;
// Token: 0x04001713 RID: 5907
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001713")]
private int flags;
// Token: 0x04001714 RID: 5908
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001714")]
private Type _serverType;
// Token: 0x04001715 RID: 5909
[Token(Token = "0x4001715")]
private static int MarshalledObjectRef;
// Token: 0x04001716 RID: 5910
[Token(Token = "0x4001716")]
private static int WellKnowObjectRef;
}
}