public static void ThrowIfNull(object? argument, string? paramName = default);
static member ThrowIfNull : obj * string -> unit
Public Shared Sub ThrowIfNull (argument As Object, Optional paramName As String = Nothing)
Parameters
The reference type argument to validate as non-null.
The name of the parameter with which argument
corresponds. If you omit this parameter, the name of argument
is used.
The paramName
parameter is included to support the CallerArgumentExpressionAttribute attribute. It's recommended that you don't pass a value for this parameter and let the name of argument
be used instead.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4