System.Reflection.AmbiguousMatchException

E697554

System.Reflection.AmbiguousMatchException is a .NET exception thrown when reflection operations encounter multiple members that match a binding criteria and cannot determine a single unambiguous result.

All labels observed (3)

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf .NET exception type
class
assembly System.Runtime
mscorlib
linked to: mscorlib.dll
baseClass System.SystemException
linked to: SystemException
category reflection-related exception
CLSCompliant true
documentationSource Microsoft .NET API reference
errorCondition multiple matching members found
fullName System.Reflection.AmbiguousMatchException
hasConstructor AmbiguousMatchException()
AmbiguousMatchException(SerializationInfo info, StreamingContext context)
AmbiguousMatchException(string message)
AmbiguousMatchException(string message, Exception innerException)
inheritsFrom System.Exception
System.SystemException
inheritsInnerExceptionPropertyFrom System.Exception
inheritsMessagePropertyFrom System.Exception
introducedIn .NET Core 1.0
linked to: .NET Core

.NET Framework 1.0
linked to: .NET Framework

.NET Standard 1.3
isAbstract false
isCheckedAt runtime
isPublic true
isSealed false
isSerializable true
library Base Class Library
namespace System.Reflection
platform .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
.NET Standard
shortName AmbiguousMatchException
thrownBy System.Reflection.TypeInfo.GetDeclaredField
System.Reflection.TypeInfo.GetDeclaredMethod
System.Reflection.TypeInfo.GetDeclaredProperty
System.Type.GetConstructor
System.Type.GetField
System.Type.GetMember
System.Type.GetMethod
System.Type.GetProperty
System.Type.InvokeMember
thrownWhen a reflection search finds multiple members that match the binding criteria
typicalCause multiple properties with same name and signature
overloaded members with same name and insufficient binding flags
usageContext reflection

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Reflection containsType System.Reflection.AmbiguousMatchException
System.Reflection.AmbiguousMatchException fullName System.Reflection.AmbiguousMatchException
System.Reflection.AmbiguousMatchException hasConstructor AmbiguousMatchException(string message)
linked to: System.Reflection.AmbiguousMatchException
System.Reflection.AmbiguousMatchException shortName AmbiguousMatchException
linked to: System.Reflection.AmbiguousMatchException