Skip to content

Commit

Permalink
extend xml docs with OverflowException information (dotnet#109645)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsitnik authored Nov 12, 2024
1 parent 6785549 commit ab7e123
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ public string Name
/// </list>
/// </para>
/// </remarks>
/// <exception cref="OverflowException">The total number of <see cref="TypeName"/> instances that are used to describe
/// this instance exceed <see cref="int.MaxValue"/>.</exception>
public int GetNodeCount()
{
// This method uses checked arithmetic to avoid silent overflows.
Expand Down

0 comments on commit ab7e123

Please sign in to comment.