Throw the right exception when interface dispatch is ambiguous (dotnet/coreclr#22295)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Sun, 3 Feb 2019 18:22:32 +0000 (19:22 +0100)
committerGitHub <noreply@github.com>
Sun, 3 Feb 2019 18:22:32 +0000 (19:22 +0100)
commitc46a1ec6e2b9ac7b36711fa91f772aa90530495d
tree5a61469b3c2ace8940afdc3797d66fe25d7abc09
parent88cecaef25f74ad3c37b445b18f41c02da2d60dc
Throw the right exception when interface dispatch is ambiguous (dotnet/coreclr#22295)

Throw the approved exception per dotnet/corefxdotnet/coreclr#34124.

Commit migrated from https://github.com/dotnet/coreclr/commit/bbd79053fffa3bee7ce06df30115f077c077082a
src/coreclr/src/inc/corerror.xml
src/coreclr/src/pal/prebuilt/corerror/mscorurt.rc
src/coreclr/src/pal/prebuilt/inc/corerror.h
src/coreclr/src/vm/methodtable.cpp
src/coreclr/src/vm/rexcep.h
src/coreclr/tests/src/Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape.il
src/coreclr/tests/src/Regressions/coreclr/16123/ambiguousconstraint.il
src/libraries/System.Private.CoreLib/src/System/HResults.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/AmbiguousImplementationException.cs