C#


ROSLYN.PERFORMANCE.CA1867 : Use char overload, CA1867 (C#)

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

Summary

The char overload is a better performing overload than a string with a single char.

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

Properties

Class Name Use char overload, CA1867 (C#)
Significance reliability
Mnemonic ROSLYN.PERFORMANCE.CA1867
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="Use char overload, CA1867 (C#)"

Relevant Configuration File Parameters

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