using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// 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.
// Token: 0x0200011E RID: 286
[Token(Token = "0x200011E")]
[ComVisible(true)]
[Serializable]
public class MethodAccessException : MemberAccessException
{
/// Initializes a new instance of the class, setting the 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.
// Token: 0x06000A88 RID: 2696 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A88")]
[Address(RVA = "0x2D6A9D0", Offset = "0x2D699D0", VA = "0x182D6A9D0")]
public MethodAccessException()
{
}
/// Initializes a new instance of the class with a specified error message.
/// A that describes the error.
// Token: 0x06000A89 RID: 2697 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A89")]
[Address(RVA = "0x2D6AA40", Offset = "0x2D69A40", VA = "0x182D6AA40")]
public MethodAccessException(string message)
{
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// 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)
{
}
}
}