Verify.IsNotNull method

Throws InvalidOperationException if the parameter is null.

public static void IsNotNull(object? obj)
parameter description
obj The parameter to check.

Exceptions

exception condition
InvalidOperationException obj is null.

See Also