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.DbLookup.Controls.WPF.PropertiesAssembly: RingSoft.DbLookup.Controls.WPF (in RingSoft.DbLookup.Controls.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 }