Verify.IsNull method

Throws InvalidOperationException if the parameter is not null.

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

Exceptions

exception condition
InvalidOperationException obj is not null.

See Also