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
    Hangfire.AnnotationsInvokerParameterNameAttribute

Namespace: Hangfire.Annotations
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
[AttributeUsageAttribute(AttributeTargets.Parameter, AllowMultiple = false, 
	Inherited = true)]
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