| 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
Namespace: Slash.Diagnostics.ReSharper.AnnotationsAssembly: Slash.Diagnostics (in Slash.Diagnostics.dll) Version: 1.0.6018.40181
Syntax public sealed class InvokerParameterNameAttribute : Attribute
Public NotInheritable Class InvokerParameterNameAttribute
Inherits Attribute
public ref class InvokerParameterNameAttribute sealed : public Attribute
[<SealedAttribute>]
type InvokerParameterNameAttribute =
class
inherit Attribute
end
The InvokerParameterNameAttribute type exposes the following members.
Constructors Examples public void Foo(string param)
{
if (param == null)
throw new ArgumentNullException("par");
}
See Also