C#


ROSLYN.NAMING.CA1720 : Identifier contains type name (C#)

See Roslyn-Detected C# Warning Classes for more information.

Summary

Names of parameters and members are better used to communicate their meaning than to describe their type, which is expected to be provided by development tools. For names of members, if a data type name must be used, use a language-independent name instead of a language-specific one.

This check corresponds to Roslyn rule CA1720. For full rule details, see the Microsoft website: CA1720.

Properties

Class Name Identifier contains type name (C#)
Significance style
Mnemonic ROSLYN.NAMING.CA1720
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are enabled by default. To disable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += discard class="Identifier contains type name (C#)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.