RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

InvokerParameterNameAttribute Class

Indicates that the function argument should be a string literal and match one of the parameters of the caller function. For example, ReSharper annotates the parameter of ArgumentNullException.

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


[AttributeUsageAttribute]
public sealed class InvokerParameterNameAttribute : Attribute
<AttributeUsageAttribute> _
Public NotInheritable Class InvokerParameterNameAttribute _
	Inherits Attribute
[AttributeUsageAttribute]
public ref class InvokerParameterNameAttribute sealed : public Attribute

Examples


C#
void Foo(string param) {
if (param == null)
throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
}

Inheritance Hierarchy


Object
  Attribute
    RingSoft.DataEntryControls.WPF..::..InvokerParameterNameAttribute