CA1305 false positives: Convert.ToString(bool)
, Convert.ToChar(string)
, Convert.ToBoolean(strng)
#7154
Labels
Area-Microsoft.CodeAnalysis.NetAnalyzers
False_Positive
A diagnostic is reported for non-problematic case
help wanted
The issue is up-for-grabs, and can be claimed by commenting
Milestone
Analyzer
Diagnostic ID: CA1305:
Specify IFormatProvider
Analyzer source
NuGet Package: Microsoft.CodeAnalysis.NetAnalyzers
Version: 3.11.0-beta1.23525.2 (Latest)
Describe the bug
CA1305 still complains about some methods that doesn't benefit from
IFormatProvider
Steps To Reproduce
Expected behavior
methods should be ignored by analyzer
Actual behavior
CA1305 generated
The text was updated successfully, but these errors were encountered: