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.AnnotationsAssembly: 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 }