376 lines
14 KiB
C#
376 lines
14 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Reflection;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting.Messaging
|
|
{
|
|
/// <summary>Implements the <see cref="T:System.Runtime.Remoting.Messaging.IMethodReturnMessage" /> interface to create a message that acts as a method response on a remote object.</summary>
|
|
// Token: 0x02000537 RID: 1335
|
|
[Token(Token = "0x2000537")]
|
|
[ComVisible(true)]
|
|
[CLSCompliant(false)]
|
|
[Serializable]
|
|
public class MethodResponse : IMethodReturnMessage, IMethodMessage, IMessage, ISerializable, IInternalMessage
|
|
{
|
|
// Token: 0x06002B99 RID: 11161 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002B99")]
|
|
[Address(RVA = "0x2BFB1B0", Offset = "0x2BFA1B0", VA = "0x182BFB1B0")]
|
|
internal MethodResponse(Exception e, IMethodCallMessage msg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B9A RID: 11162 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002B9A")]
|
|
[Address(RVA = "0x2C05C10", Offset = "0x2C04C10", VA = "0x182C05C10")]
|
|
internal MethodResponse(object returnValue, object[] outArgs, LogicalCallContext callCtx, IMethodCallMessage msg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B9B RID: 11163 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002B9B")]
|
|
[Address(RVA = "0x2C05980", Offset = "0x2C04980", VA = "0x182C05980")]
|
|
internal MethodResponse(IMethodCallMessage msg, CADMethodReturnMessage retmsg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B9C RID: 11164 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002B9C")]
|
|
[Address(RVA = "0x2BFB250", Offset = "0x2BFA250", VA = "0x182BFB250")]
|
|
internal MethodResponse(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B9D RID: 11165 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002B9D")]
|
|
[Address(RVA = "0x2C05600", Offset = "0x2C04600", VA = "0x182C05600")]
|
|
internal void InitMethodProperty(string key, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the number of arguments passed to the method.</summary>
|
|
/// <returns>A <see cref="T:System.Int32" /> that represents the number of arguments passed to a method.</returns>
|
|
// Token: 0x17000684 RID: 1668
|
|
// (get) Token: 0x06002B9E RID: 11166 RVA: 0x00018B10 File Offset: 0x00016D10
|
|
[Token(Token = "0x17000684")]
|
|
public int ArgCount
|
|
{
|
|
[Token(Token = "0x6002B9E")]
|
|
[Address(RVA = "0xA3C350", Offset = "0xA3B350", VA = "0x180A3C350", Slot = "7")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an array of arguments passed to the method.</summary>
|
|
/// <returns>An array of type <see cref="T:System.Object" /> that represents the arguments passed to a method.</returns>
|
|
// Token: 0x17000685 RID: 1669
|
|
// (get) Token: 0x06002B9F RID: 11167 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000685")]
|
|
public object[] Args
|
|
{
|
|
[Token(Token = "0x6002B9F")]
|
|
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0", Slot = "8")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the exception thrown during the method call, or <see langword="null" /> if the method did not throw an exception.</summary>
|
|
/// <returns>The <see cref="T:System.Exception" /> thrown during the method call, or <see langword="null" /> if the method did not throw an exception.</returns>
|
|
// Token: 0x17000686 RID: 1670
|
|
// (get) Token: 0x06002BA0 RID: 11168 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000686")]
|
|
public Exception Exception
|
|
{
|
|
[Token(Token = "0x6002BA0")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</summary>
|
|
/// <returns>The <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</returns>
|
|
// Token: 0x17000687 RID: 1671
|
|
// (get) Token: 0x06002BA1 RID: 11169 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000687")]
|
|
public LogicalCallContext LogicalCallContext
|
|
{
|
|
[Token(Token = "0x6002BA1")]
|
|
[Address(RVA = "0x2C05CA0", Offset = "0x2C04CA0", VA = "0x182C05CA0", Slot = "9")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Reflection.MethodBase" /> of the called method.</summary>
|
|
/// <returns>The <see cref="T:System.Reflection.MethodBase" /> of the called method.</returns>
|
|
// Token: 0x17000688 RID: 1672
|
|
// (get) Token: 0x06002BA2 RID: 11170 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000688")]
|
|
public MethodBase MethodBase
|
|
{
|
|
[Token(Token = "0x6002BA2")]
|
|
[Address(RVA = "0x2C05D00", Offset = "0x2C04D00", VA = "0x182C05D00", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the invoked method.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the name of the invoked method.</returns>
|
|
// Token: 0x17000689 RID: 1673
|
|
// (get) Token: 0x06002BA3 RID: 11171 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000689")]
|
|
public string MethodName
|
|
{
|
|
[Token(Token = "0x6002BA3")]
|
|
[Address(RVA = "0x2C05E30", Offset = "0x2C04E30", VA = "0x182C05E30", Slot = "11")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an object that contains the method signature.</summary>
|
|
/// <returns>A <see cref="T:System.Object" /> that contains the method signature.</returns>
|
|
// Token: 0x1700068A RID: 1674
|
|
// (get) Token: 0x06002BA4 RID: 11172 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700068A")]
|
|
public object MethodSignature
|
|
{
|
|
[Token(Token = "0x6002BA4")]
|
|
[Address(RVA = "0x2C05E90", Offset = "0x2C04E90", VA = "0x182C05E90", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an array of arguments in the method call that are marked as <see langword="ref" /> or <see langword="out" /> parameters.</summary>
|
|
/// <returns>An array of type <see cref="T:System.Object" /> that represents the arguments in the method call that are marked as <see langword="ref" /> or <see langword="out" /> parameters.</returns>
|
|
// Token: 0x1700068B RID: 1675
|
|
// (get) Token: 0x06002BA5 RID: 11173 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700068B")]
|
|
public object[] OutArgs
|
|
{
|
|
[Token(Token = "0x6002BA5")]
|
|
[Address(RVA = "0x2C05F30", Offset = "0x2C04F30", VA = "0x182C05F30", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties.</returns>
|
|
// Token: 0x1700068C RID: 1676
|
|
// (get) Token: 0x06002BA6 RID: 11174 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700068C")]
|
|
public virtual IDictionary Properties
|
|
{
|
|
[Token(Token = "0x6002BA6")]
|
|
[Address(RVA = "0x2BFB370", Offset = "0x2BFA370", VA = "0x182BFB370", Slot = "22")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the return value of the method call.</summary>
|
|
/// <returns>A <see cref="T:System.Object" /> that represents the return value of the method call.</returns>
|
|
// Token: 0x1700068D RID: 1677
|
|
// (get) Token: 0x06002BA7 RID: 11175 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700068D")]
|
|
public object ReturnValue
|
|
{
|
|
[Token(Token = "0x6002BA7")]
|
|
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the full type name of the remote object on which the method call is being made.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the full type name of the remote object on which the method call is being made.</returns>
|
|
// Token: 0x1700068E RID: 1678
|
|
// (get) Token: 0x06002BA8 RID: 11176 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700068E")]
|
|
public string TypeName
|
|
{
|
|
[Token(Token = "0x6002BA8")]
|
|
[Address(RVA = "0x2C060F0", Offset = "0x2C050F0", VA = "0x182C060F0", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made.</summary>
|
|
/// <returns>The URI of a remote object.</returns>
|
|
// Token: 0x1700068F RID: 1679
|
|
// (get) Token: 0x06002BA9 RID: 11177 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x06002BAA RID: 11178 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700068F")]
|
|
public string Uri
|
|
{
|
|
[Token(Token = "0x6002BA9")]
|
|
[Address(RVA = "0x2C05920", Offset = "0x2C04920", VA = "0x182C05920", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6002BAA")]
|
|
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000690 RID: 1680
|
|
// (get) Token: 0x06002BAB RID: 11179 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x06002BAC RID: 11180 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000690")]
|
|
string IInternalMessage.Uri
|
|
{
|
|
[Token(Token = "0x6002BAB")]
|
|
[Address(RVA = "0x2C05920", Offset = "0x2C04920", VA = "0x182C05920", Slot = "20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6002BAC")]
|
|
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0", Slot = "21")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a method argument, as an object, at a specified index.</summary>
|
|
/// <param name="argNum">The index of the requested argument.</param>
|
|
/// <returns>The method argument as an object.</returns>
|
|
// Token: 0x06002BAD RID: 11181 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002BAD")]
|
|
[Address(RVA = "0x2C05300", Offset = "0x2C04300", VA = "0x182C05300", Slot = "15")]
|
|
public object GetArg(int argNum)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>The <see cref="M:System.Runtime.Remoting.Messaging.MethodResponse.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" /> method is not implemented.</summary>
|
|
/// <param name="info">Data for serializing or deserializing the remote object.</param>
|
|
/// <param name="context">Context of a certain serialized stream.</param>
|
|
// Token: 0x06002BAE RID: 11182 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BAE")]
|
|
[Address(RVA = "0x2C05340", Offset = "0x2C04340", VA = "0x182C05340", Slot = "23")]
|
|
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17000691 RID: 1681
|
|
// (get) Token: 0x06002BAF RID: 11183 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x06002BB0 RID: 11184 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000691")]
|
|
Identity IInternalMessage.TargetIdentity
|
|
{
|
|
[Token(Token = "0x6002BAF")]
|
|
[Address(RVA = "0x493640", Offset = "0x492640", VA = "0x180493640", Slot = "18")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6002BB0")]
|
|
[Address(RVA = "0x476170", Offset = "0x475170", VA = "0x180476170", Slot = "19")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x040018E2 RID: 6370
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40018E2")]
|
|
private string _methodName;
|
|
|
|
// Token: 0x040018E3 RID: 6371
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40018E3")]
|
|
private string _uri;
|
|
|
|
// Token: 0x040018E4 RID: 6372
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40018E4")]
|
|
private string _typeName;
|
|
|
|
// Token: 0x040018E5 RID: 6373
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40018E5")]
|
|
private MethodBase _methodBase;
|
|
|
|
// Token: 0x040018E6 RID: 6374
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40018E6")]
|
|
private object _returnValue;
|
|
|
|
// Token: 0x040018E7 RID: 6375
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40018E7")]
|
|
private Exception _exception;
|
|
|
|
// Token: 0x040018E8 RID: 6376
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40018E8")]
|
|
private Type[] _methodSignature;
|
|
|
|
// Token: 0x040018E9 RID: 6377
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40018E9")]
|
|
private ArgInfo _inArgInfo;
|
|
|
|
// Token: 0x040018EA RID: 6378
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40018EA")]
|
|
private object[] _args;
|
|
|
|
// Token: 0x040018EB RID: 6379
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40018EB")]
|
|
private object[] _outArgs;
|
|
|
|
// Token: 0x040018EC RID: 6380
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40018EC")]
|
|
private IMethodCallMessage _callMsg;
|
|
|
|
// Token: 0x040018ED RID: 6381
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40018ED")]
|
|
private LogicalCallContext _callContext;
|
|
|
|
// Token: 0x040018EE RID: 6382
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40018EE")]
|
|
private Identity _targetIdentity;
|
|
|
|
/// <summary>Specifies an <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties.</summary>
|
|
// Token: 0x040018EF RID: 6383
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40018EF")]
|
|
protected IDictionary ExternalProperties;
|
|
|
|
/// <summary>Specifies an <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties.</summary>
|
|
// Token: 0x040018F0 RID: 6384
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40018F0")]
|
|
protected IDictionary InternalProperties;
|
|
}
|
|
}
|