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.Engine.Annotations
Assembly:  RingSoft.DataEntryControls.Engine (in RingSoft.DataEntryControls.Engine.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.Engine.Annotations..::..InvokerParameterNameAttribute