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.
2 parents 9a6cf00 + aedc699 commit f0d7ed2Copy full SHA for f0d7ed2
1 file changed
src/SharedInfrastructure/Guard.cs
@@ -33,7 +33,7 @@ public static void NotNull<TValue>([NotNull]TValue? value, [CallerArgumentExpres
33
/// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
34
/// <exception cref="ArgumentException"><paramref name="value"/> is empty or contains only blanks.</exception>
35
[MethodImpl(MethodImplOptions.AggressiveInlining)]
36
- public static void NotNullOrWhiteSpace(string value, string parameterName)
+ public static void NotNullOrWhiteSpace([NotNull]string? value, string parameterName)
37
{
38
if (!string.IsNullOrWhiteSpace(value))
39
0 commit comments