Skip to content

Document System.Runtime.AmbiguousImplementationException #2796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions xml/System.Runtime/AmbiguousImplementationException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@
</Base>
<Interfaces />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<summary>The exception that is thrown when there are multiple incompatible interface methods overriding another method.</summary>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

Normally, a compilation error is generated if there are multiple incompatible interface methods implementing another interface method. `AmbiguousImplementationException` is thrown when a type in a dependent assembly implements an interface from an assembly that was modified.

To resolve the error, a most specific implementation of the interface method has to be provided. The most specific implementation of the interface method can be provided on the class that implements the interface, or on another interface that requires the interface providing the conflicting implementation.

`AmbiguousImplementationException` uses the `HRESULT COR_E_AMBIGUOUSIMPLEMENTATION`, which has a value of `0x8013106A`.

]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
Expand All @@ -31,7 +43,7 @@
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<summary>Initializes a new instance of the <see cref="T:System.Runtime.AmbiguousImplementationException" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand All @@ -51,8 +63,8 @@
<Parameter Name="message" Type="System.String" />
</Parameters>
<Docs>
<param name="message">To be added.</param>
<summary>To be added.</summary>
<param name="message">The localized error message string.</param>
<summary>Initializes a new instance of the <see cref="T:System.Runtime.AmbiguousImplementationException" /> class with a specified error message.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand All @@ -73,11 +85,11 @@
<Parameter Name="innerException" Type="System.Exception" />
</Parameters>
<Docs>
<param name="message">To be added.</param>
<param name="innerException">To be added.</param>
<summary>To be added.</summary>
<param name="message">The localized error message string.</param>
<param name="innerException">The exception that is the cause of the current exception.</param>
<summary>Initializes a new instance of the <see cref="T:System.Runtime.AmbiguousImplementationException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
</Type>