using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System { /// The exception that is thrown when there is an attempt to dynamically access a method that does not exist. /// 2 // Token: 0x02000688 RID: 1672 [ComVisible(true)] [Serializable] public class MissingMethodException : MissingMemberException { /// Initializes a new instance of the class. // Token: 0x06003F59 RID: 16217 RVA: 0x000D5F00 File Offset: 0x000D4100 public MissingMethodException() : base(Locale.GetText("Cannot find the requested method.")) { base.HResult = -2146233069; } /// Initializes a new instance of the class with a specified error message. /// A that describes the error. // Token: 0x06003F5A RID: 16218 RVA: 0x000D5F20 File Offset: 0x000D4120 public MissingMethodException(string message) : base(message) { base.HResult = -2146233069; } /// 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: 0x06003F5B RID: 16219 RVA: 0x000D5F34 File Offset: 0x000D4134 protected MissingMethodException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. // Token: 0x06003F5C RID: 16220 RVA: 0x000D5F40 File Offset: 0x000D4140 public MissingMethodException(string message, Exception inner) : base(message, inner) { base.HResult = -2146233069; } /// Initializes a new instance of the class with the specified class name and method name. /// The name of the class in which access to a nonexistent method was attempted. /// The name of the method that cannot be accessed. // Token: 0x06003F5D RID: 16221 RVA: 0x000D5F58 File Offset: 0x000D4158 public MissingMethodException(string className, string methodName) : base(className, methodName) { base.HResult = -2146233069; } /// Gets the text string showing the class name, the method name, and the signature of the missing method. This property is read-only. /// The error message string. /// 2 // Token: 0x17000BC4 RID: 3012 // (get) Token: 0x06003F5E RID: 16222 RVA: 0x000D5F70 File Offset: 0x000D4170 public override string Message { get { if (this.ClassName == null) { return base.Message; } string text = Locale.GetText("Method not found: '{0}.{1}'."); return string.Format(text, this.ClassName, this.MemberName); } } // Token: 0x04001936 RID: 6454 private const int Result = -2146233069; } }