Skip to content

Commit ab7e123

Browse files
authored
extend xml docs with OverflowException information (#109645)
1 parent 6785549 commit ab7e123

File tree

1 file changed

+2
-0
lines changed
  • src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata

1 file changed

+2
-0
lines changed

src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeName.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ public string Name
312312
/// </list>
313313
/// </para>
314314
/// </remarks>
315+
/// <exception cref="OverflowException">The total number of <see cref="TypeName"/> instances that are used to describe
316+
/// this instance exceed <see cref="int.MaxValue"/>.</exception>
315317
public int GetNodeCount()
316318
{
317319
// This method uses checked arithmetic to avoid silent overflows.

0 commit comments

Comments
 (0)