43 lines
2.0 KiB
C#
43 lines
2.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when there is an invalid attempt to access a method, such as accessing a private method from partially trusted code.</summary>
|
|
// Token: 0x0200011E RID: 286
|
|
[Token(Token = "0x200011E")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class MethodAccessException : MemberAccessException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MethodAccessException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "Attempt to access the method failed." This message takes into account the current system culture.</summary>
|
|
// Token: 0x06000A88 RID: 2696 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A88")]
|
|
[Address(RVA = "0x2D6A9D0", Offset = "0x2D699D0", VA = "0x182D6A9D0")]
|
|
public MethodAccessException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MethodAccessException" /> class with a specified error message.</summary>
|
|
/// <param name="message">A <see cref="T:System.String" /> that describes the error.</param>
|
|
// Token: 0x06000A89 RID: 2697 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A89")]
|
|
[Address(RVA = "0x2D6AA40", Offset = "0x2D69A40", VA = "0x182D6AA40")]
|
|
public MethodAccessException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MethodAccessException" /> class with 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.</param>
|
|
// Token: 0x06000A8A RID: 2698 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A8A")]
|
|
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
|
protected MethodAccessException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|