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