Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

128 lines
5.4 KiB
C#

using System;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Messaging
{
/// <summary>Defines the method message interface.</summary>
// Token: 0x02000531 RID: 1329
[Token(Token = "0x2000531")]
[ComVisible(true)]
public interface IMethodMessage : IMessage
{
/// <summary>Gets the number of arguments passed to the method.</summary>
/// <returns>The number of arguments passed to the method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x1700065F RID: 1631
// (get) Token: 0x06002B50 RID: 11088
[Token(Token = "0x1700065F")]
int ArgCount
{
[Token(Token = "0x6002B50")]
[Address(Slot = "0")]
get;
}
/// <summary>Gets an array of arguments passed to the method.</summary>
/// <returns>An <see cref="T:System.Object" /> array containing the arguments passed to the method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000660 RID: 1632
// (get) Token: 0x06002B51 RID: 11089
[Token(Token = "0x17000660")]
object[] Args
{
[Token(Token = "0x6002B51")]
[Address(Slot = "1")]
get;
}
/// <summary>Gets the <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</summary>
/// <returns>Gets the <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000661 RID: 1633
// (get) Token: 0x06002B52 RID: 11090
[Token(Token = "0x17000661")]
LogicalCallContext LogicalCallContext
{
[Token(Token = "0x6002B52")]
[Address(Slot = "2")]
get;
}
/// <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>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000662 RID: 1634
// (get) Token: 0x06002B53 RID: 11091
[Token(Token = "0x17000662")]
MethodBase MethodBase
{
[Token(Token = "0x6002B53")]
[Address(Slot = "3")]
get;
}
/// <summary>Gets the name of the invoked method.</summary>
/// <returns>The name of the invoked method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000663 RID: 1635
// (get) Token: 0x06002B54 RID: 11092
[Token(Token = "0x17000663")]
string MethodName
{
[Token(Token = "0x6002B54")]
[Address(Slot = "4")]
get;
}
/// <summary>Gets an object containing the method signature.</summary>
/// <returns>An object containing the method signature.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000664 RID: 1636
// (get) Token: 0x06002B55 RID: 11093
[Token(Token = "0x17000664")]
object MethodSignature
{
[Token(Token = "0x6002B55")]
[Address(Slot = "5")]
get;
}
/// <summary>Gets the full <see cref="T:System.Type" /> name of the specific object that the call is destined for.</summary>
/// <returns>The full <see cref="T:System.Type" /> name of the specific object that the call is destined for.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000665 RID: 1637
// (get) Token: 0x06002B56 RID: 11094
[Token(Token = "0x17000665")]
string TypeName
{
[Token(Token = "0x6002B56")]
[Address(Slot = "6")]
get;
}
/// <summary>Gets the URI of the specific object that the call is destined for.</summary>
/// <returns>The URI of the remote object that contains the invoked method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x17000666 RID: 1638
// (get) Token: 0x06002B57 RID: 11095
[Token(Token = "0x17000666")]
string Uri
{
[Token(Token = "0x6002B57")]
[Address(Slot = "7")]
get;
}
/// <summary>Gets a specific argument as an <see cref="T:System.Object" />.</summary>
/// <param name="argNum">The number of the requested argument.</param>
/// <returns>The argument passed to the method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.</exception>
// Token: 0x06002B58 RID: 11096
[Token(Token = "0x6002B58")]
[Address(Slot = "8")]
object GetArg(int argNum);
}
}