Skip to content

Commit 373d500

Browse files
committed
formatted ExceptionHelpers.cs
1 parent 1647b2a commit 373d500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ExceptionHelpers.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ internal static void ThrowIfGreaterThanOrEqual<T>(T value, T other,
3737
ThrowGreaterThanOrEqual(value, other, paramName);
3838
}
3939
}
40+
4041
internal static void ThrowIfLessThan<T>(T value, T other,
4142
#if NET8_0_OR_GREATER
4243
[CallerArgumentExpression(nameof(value))]
@@ -144,6 +145,7 @@ static void ThrowGreaterThanOrEqual<T>(T value, T other, string? paramName)
144145
{
145146
throw new ArgumentOutOfRangeException(paramName, value, $"{paramName} ('{value}') must be less than '{other}'. (Parameter '{paramName}')");
146147
}
148+
147149
[DoesNotReturn]
148150
static void ThrowLessThan<T>(T value, T other, string? paramName)
149151
{

0 commit comments

Comments
 (0)