File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public static void IsNotEmpty(string text, [CallerArgumentExpression("text")] st
114
114
return ;
115
115
}
116
116
117
- ThrowHelper . ThrowArgumentExceptionForIsNotEmpty ( text , name ) ;
117
+ ThrowHelper . ThrowArgumentExceptionForIsNotEmpty ( name ) ;
118
118
}
119
119
120
120
/// <summary>
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public static void ThrowArgumentExceptionForIsEmpty(string text, string name)
85
85
/// Throws an <see cref="ArgumentException"/> when <see cref="IsNotEmpty"/> fails.
86
86
/// </summary>
87
87
[ DoesNotReturn ]
88
- public static void ThrowArgumentExceptionForIsNotEmpty ( string text , string name )
88
+ public static void ThrowArgumentExceptionForIsNotEmpty ( string name )
89
89
{
90
90
throw new ArgumentException ( $ "Parameter { AssertString ( name ) } (string) must not be empty.", name ) ;
91
91
}
You can’t perform that action at this time.
0 commit comments