Skip to content

Commit

Permalink
Incorporate changes from dotnet#61608
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis committed Nov 23, 2021
1 parent 1b49f3d commit 791ec4e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public int MaxDepth
set
{
if (value < 0)
throw ThrowHelper.GetArgumentOutOfRangeException_MaxDepthMustBePositive(nameof(value));
{
ThrowHelper.ThrowArgumentOutOfRangeException_MaxDepthMustBePositive(nameof(value));
}

_maxDepth = value;
}
Expand Down

0 comments on commit 791ec4e

Please sign in to comment.