using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Reflection { /// The exception that is thrown when binding to a member results in more than one member matching the binding criteria. This class cannot be inherited. // Token: 0x0200021E RID: 542 [ComVisible(true)] [Serializable] public sealed class AmbiguousMatchException : SystemException { /// Initializes a new instance of the class with an empty message string and the root cause exception set to null. // Token: 0x06001CF1 RID: 7409 RVA: 0x0006D480 File Offset: 0x0006B680 public AmbiguousMatchException() : base("Ambiguous matching in method resolution") { } /// Initializes a new instance of the class with its message string set to the given message and the root cause exception set to null. /// A string indicating the reason this exception was thrown. // Token: 0x06001CF2 RID: 7410 RVA: 0x0006D490 File Offset: 0x0006B690 public AmbiguousMatchException(string message) : base(message) { } /// 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 null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06001CF3 RID: 7411 RVA: 0x0006D49C File Offset: 0x0006B69C public AmbiguousMatchException(string message, Exception inner) : base(message, inner) { } // Token: 0x06001CF4 RID: 7412 RVA: 0x0006D4A8 File Offset: 0x0006B6A8 internal AmbiguousMatchException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }