Property | Value |
---|---|
Id | RCS1140 |
Category | Maintainability |
Severity | Hidden |
/// <summary>
/// ...
/// </summary>
/// <param name="parameter"></param>
public void Foo(object parameter)
{
if (parameter == null)
throw new ArgumentNullException(nameof(parameter)); // RCS1140
}
/// <summary>
/// ...
/// </summary>
/// <param name="parameter"></param>
/// <exception cref="ArgumentNullException"><paramref name="parameter"/> is <c>null</c>.</exception>
public void Foo(object parameter)
{
if (parameter == null)
throw new ArgumentNullException(nameof(parameter));
}
(Generated with DotMarkdown)