Superfluous Annotation Argument

Warns about Rubberduck annotations with more arguments than allowed.

 NEW! This inspection is only available in pre-release builds.

Reasoning

Most annotations only process a limited number of arguments; superfluous arguments are ignored.

Default severity

Warning

Inspection type

CodeQualityIssues

Examples

This example should trigger a result

MyModule (ClassModule)
'@Folder "MyFolder.MySubFolder" "SomethingElse '@PredeclaredId True Option Explicit ' ...

This example should NOT trigger a result

MyModule (ClassModule)
'@Folder("MyFolder.MySubFolder") '@PredeclaredId Option Explicit ' ...

Rubberduck.CodeAnalysis.Inspections.Concrete.SuperfluousAnnotationArgumentInspection.cs (Prerelease-v2.5.2.6174)