15 references to AmbiguousMatchException
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationTestDataExtensions.cs (1)
70
throw new
AmbiguousMatchException
(
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (1)
2577
Return New
AmbiguousMatchException
(message)
System.Linq.Expressions (1)
System\Linq\Expressions\Error.cs (1)
40
return new
AmbiguousMatchException
(Strings.AmbiguousMatchInExpandoObject(p0));
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (3)
692
return new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_MemberInfo, declaringType, memberInfo));
697
return new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_Attribute, attribute));
702
return new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_CustomAttributeData, customAttributeData));
System.Reflection.Context (1)
System\Reflection\Context\Custom\CustomType.cs (1)
273
throw new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_MemberInfo, declaringType, match));
System.Reflection.Emit (5)
System\Reflection\Emit\TypeBuilderImpl.cs (5)
836
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MemberInfo, method.DeclaringType, method.Name));
874
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MemberInfo, fieldInfo.DeclaringType, fieldInfo.Name));
962
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MemberInfo, interfaceType.DeclaringType, interfaceType.Name));
1078
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MemberInfo, firstCandidate.DeclaringType, firstCandidate.Name));
1165
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MemberInfo, type.DeclaringType, type.Name));
System.Reflection.MetadataLoadContext (2)
System\ThrowHelper.cs (2)
16
return new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_RoDefinitionType, roDefinitionType.FullName));
22
return new
AmbiguousMatchException
(SR.Format(SR.Arg_AmbiguousMatchException_MemberInfo, declaringType, memberInfo));
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
114
throw new
AmbiguousMatchException
(SR.Format(SR.AmbiguousMatch_MultipleEventInterfaceAttributes, interfaceAttribute));