Skip to content

Commit 1797721

Browse files
author
Oren (electricessence)
committed
Updates.
1 parent 6ddd1fd commit 1797721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MathExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static class MathExtensions
1515
static void ValidateIntPower(int power)
1616
{
1717
if (power < 0)
18-
throw new ArgumentOutOfRangeException("power", power, "In order to maintain the interger math, power cannot be negative.");
18+
throw new ArgumentOutOfRangeException(nameof(power), power, "In order to maintain the interger math, power cannot be negative.");
1919
}
2020

2121
/// <summary>

0 commit comments

Comments
 (0)