CA2208: false positive when exception message contains parameter name (but only in some cases) #6863
Labels
Area-Microsoft.CodeAnalysis.NetAnalyzers
Bug
The product is not behaving according to its current intended design
False_Positive
A diagnostic is reported for non-problematic case
Analyzer
Diagnostic ID: CA2208:
Instantiate argument exceptions correctly
Analyzer source
NuGet Package: Microsoft.CodeAnalysis.NetAnalyzers
Version: 8.0.0-preview.23364.2 (Latest)
Describe the bug
False positive triggered when exception message argument contains substring equal to any parameter name with some unclear additions
Steps To Reproduce
Expected behavior
no errors
Actual behavior
error
Additional context
The text was updated successfully, but these errors were encountered: