File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,13 @@ namespace SixLabors;
13
13
internal static partial class ThrowHelper
14
14
#pragma warning restore RCS1043 // Remove 'partial' modifier from type with a single part.
15
15
{
16
- /// <summary>
17
- /// Throws an <see cref="ArgumentNullException"/> when <see cref="Guard.NotNull{TValue}"/> fails.
18
- /// </summary>
19
- /// <param name="name">The argument name.</param>
20
- [ DoesNotReturn ]
21
- public static void ThrowArgumentNullExceptionForNotNull ( string name )
22
- => ThrowArgumentNullException ( name , $ "Parameter \" { name } \" must be not null.") ;
23
-
24
16
/// <summary>
25
17
/// Throws an <see cref="ArgumentException"/> when <see cref="Guard.NotNullOrWhiteSpace"/> fails.
26
18
/// </summary>
27
19
/// <param name="value">The value.</param>
28
20
/// <param name="name">The argument name.</param>
29
21
[ DoesNotReturn ]
30
- public static void ThrowArgumentExceptionForNotNullOrWhitespace ( string value , string name )
22
+ public static void ThrowArgumentExceptionForNotNullOrWhitespace ( string ? value , string name )
31
23
{
32
24
if ( value is null )
33
25
{
You can’t perform that action at this time.
0 commit comments