Fix S3220 FP: Rule does not take into account generics #8522
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: False Positive
Rule IS triggered when it shouldn't be.
Milestone
Description
The following code produces a S3220 warning at the
Caller.Test<T>(string key)
method, even though the generic parameter is crucial to the method's execution.Repro steps
Expected behavior
No warning.
Actual behavior
Warning.
Known workarounds
Not without violating S3878.
Related information
I'm using the Visual Studio extension, version 7.5.0.82292
The text was updated successfully, but these errors were encountered: