VSSpell001: Correct spelling of 'XXX'

Item

Value

Rule ID

VSSpell001

Category

Naming

Fix is breaking or non-breaking

Correcting the spelling in the identifier of a namespace or a public or protected type or member is considered a breaking change. For internal and private types and members, the change is non-breaking.

Cause

One or more parts of an identifier are possibly misspelled.

Rule Description

Code element spell check.

How to Fix Violations

Select a suggested replacement to correct the spelling.

When to Suppress Warnings

The warning can be suppressed if the word is correctly spelled but not in the dictionary by adding the word to the dictionary. If misspelled but you do not want it flagged, it can be added to an ignored words file defined in the spell checker configuration settings or to an Ignore Spelling directive comment in the source code file. An option is available to add it to an Ignore Spelling directive in the file.

  Note

There are currently no options available to add the word to a dictionary or ignored words file due to limitations of the code fix implementation that do not allow for modifying non-code files. It must be added to them manually or by copying and pasting the word into a comment or string and adding it from there instead. See Known Issues and Limitations for more information.

Configure Code to Analyze

See the Code Analyzer Options configuration category topic for information on the available options.

None.

See Also