We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ddd1fd commit 1797721Copy full SHA for 1797721
MathExtensions.cs
@@ -15,7 +15,7 @@ public static class MathExtensions
15
static void ValidateIntPower(int power)
16
{
17
if (power < 0)
18
- throw new ArgumentOutOfRangeException("power", power, "In order to maintain the interger math, power cannot be negative.");
+ throw new ArgumentOutOfRangeException(nameof(power), power, "In order to maintain the interger math, power cannot be negative.");
19
}
20
21
/// <summary>
0 commit comments