dotnet / dotnet/dotnet-api-docs

InvalidOperationException should be listed

Open
#1,439 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

In the Exception section (under the definition section), `InvalidOperationException` should be listed since it can be returned as mentioned in the Remarks section.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: c4eac074-1357-5556-e2cc-4de5abbd201d
* Version Independent ID: 278934cf-2ab1-6448-a3fb-7c2aed2a202b
* Content: [IComparable.CompareTo(Object) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.icomparable.compareto?view=netframework-4.6.2#System_IComparable_CompareTo_System_Object_)
* Content Source: [xml/System/IComparable.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/IComparable.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.