Click or drag to resize
InvokerParameterNameAttribute Class
Indicates that the function argument should be string literal and match one of the parameters of the caller function. For example, ReSharper annotates the parameter of ArgumentNullException.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Slash.Diagnostics.ReSharper.AnnotationsInvokerParameterNameAttribute

Namespace: Slash.Diagnostics.ReSharper.Annotations
Assembly: Slash.Diagnostics (in Slash.Diagnostics.dll) Version: 1.0.6018.40181
Syntax
public sealed class InvokerParameterNameAttribute : Attribute

The InvokerParameterNameAttribute type exposes the following members.

Constructors
  NameDescription
Public methodInvokerParameterNameAttribute
Initializes a new instance of the InvokerParameterNameAttribute class
Top
Examples
public void Foo(string param)
{
  if (param == null)
    throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
}
See Also