(null, _) => throw new ArgumentNullException(paramName: nameof(item), message: "Shape is null"),
throw new ArgumentException(paramName: nameof(r), message: "r should not be overflow");
throw new ArgumentException(paramName: nameof(scalar), message: "Invalid privkey");
// _Title = title ?? throw new ArgumentException(); // _Title = title ?? throw new ArgumentNullException(); // _Title = title ?? throw new ArgumentNullException("title cannot be a null reference", "title"); // _Title = title ?? throw new ArgumentNullException("title", "title cannot be a null reference"); Title = title ?? throw new ArgumentNullException(paramName : nameof(title), message : "title cannot be a null reference");
set => name = value ?? throw new ArgumentNullException(paramName: nameof(value), message: "Name cannot be null");
=> obj is null ? throw new ArgumentNullException(paramName, message) : new Contract <T>(obj, $"Argument [{paramName}] must not be null ");
=> Resources = resources ?? throw new ArgumentNullException(paramName : nameof(resources));
private static void iterator(string name) => WriteLineWithColor($"iterator created for {(name ?? throw new ArgumentNullException(paramName: nameof(name), message: "Iterator's name must not be null"))}", ConsoleColor.Blue);
public HUDParam(paramName, paramValue) /*[init code here...]*/ }
select(paramName, new CommandParameterInfo(paramName, member)) );
=> (source ?? throw new ArgumentNullException(paramName: nameof(source))).Where(locItem => locItem != null);
Append(paramName, paramValue);
foreach (var(paramName, paramValue) in fields)
foreach (var(paramName, paramValue) in parameters)
this.renderer = renderer ?? throw new ArgumentNullException(paramName : nameof(renderer));