Files
2026-06-04 11:42:34 +02:00

44 lines
2.1 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Reflection
{
/// <summary>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.</summary>
// Token: 0x0200021E RID: 542
[ComVisible(true)]
[Serializable]
public sealed class AmbiguousMatchException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" /> class with an empty message string and the root cause exception set to null.</summary>
// Token: 0x06001CF1 RID: 7409 RVA: 0x0006D480 File Offset: 0x0006B680
public AmbiguousMatchException()
: base("Ambiguous matching in method resolution")
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" /> class with its message string set to the given message and the root cause exception set to null.</summary>
/// <param name="message">A string indicating the reason this exception was thrown. </param>
// Token: 0x06001CF2 RID: 7410 RVA: 0x0006D490 File Offset: 0x0006B690
public AmbiguousMatchException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
// 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)
{
}
}
}