C#


ROSLYN.DESIGN.CA1005 : Avoid excessive parameters on generic types (C#)

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

Summary

The more type parameters a generic type contains, the more difficult it is to know and remember what each type parameter represents.

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

Properties

Class Name Avoid excessive parameters on generic types (C#)
Significance reliability
Mnemonic ROSLYN.DESIGN.CA1005
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Avoid excessive parameters on generic types (C#)"

Relevant Configuration File Parameters

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