Missing Annotation Argument

Warns about a malformed Rubberduck annotation that is missing one or more arguments.

Reasoning

Some annotations require arguments; if the required number of arguments isn't specified, the annotation is nothing more than an obscure comment.

Default severity

Error

Inspection type

CodeQualityIssues

Examples

This example should trigger a result

MyModule (StandardModule)
'@Folder '@ModuleDescription Option Explicit ' ...

This example should NOT trigger a result

MyModule (StandardModule)
'@Folder("MyProject.XYZ") '@ModuleDescription("This module does XYZ") Option Explicit ' ...

Rubberduck.CodeAnalysis.Inspections.Concrete.MissingAnnotationArgumentInspection.cs (Prerelease-v2.5.9.6289)