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: 0x02000117 RID: 279 [Token(Token = "0x2000117")] [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: 0x06000A56 RID: 2646 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000A56")] [Address(RVA = "0x25FEA30", Offset = "0x25FD830", VA = "0x1825FEA30")] public MethodAccessException() { } /// Initializes a new instance of the class with a specified error message. /// A that describes the error. // Token: 0x06000A57 RID: 2647 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000A57")] [Address(RVA = "0x25FEAA0", Offset = "0x25FD8A0", VA = "0x1825FEAA0")] 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: 0x06000A58 RID: 2648 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000A58")] [Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")] protected MethodAccessException(SerializationInfo info, StreamingContext context) { } } }