13 instantiations of NotNull
Microsoft.Extensions.Diagnostics.Probes (13)
src\Shared\Throw\Throw.cs (13)
39
[return:
NotNull
]
40
public static T IfNull<T>([
NotNull
] T argument, [CallerArgumentExpression(nameof(argument))] string paramName = "")
67
[return:
NotNull
]
69
[
NotNull
] TParameter argument,
70
[
NotNull
] TMember member,
103
[return:
NotNull
]
107
[
NotNull
] TMember member,
132
[return:
NotNull
]
133
public static string IfNullOrWhitespace([
NotNull
] string? argument, [CallerArgumentExpression(nameof(argument))] string paramName = "")
165
[return:
NotNull
]
166
public static string IfNullOrEmpty([
NotNull
] string? argument, [CallerArgumentExpression(nameof(argument))] string paramName = "")
249
[return:
NotNull
]
256
public static IEnumerable<T> IfNullOrEmpty<T>([
NotNull
] IEnumerable<T>? argument, [CallerArgumentExpression(nameof(argument))] string paramName = "")