S927 FP : FP when generic type arguments are changed to reflect the actual type they represent. #4370
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
False positive for S927. When the type of the argument is generic interface it will be more useful to provide name based on the actual substituted type, since it can better express what the code is about
Repro steps
Expected behavior
Do not raise the rule.
Actual behavior
In the previous example issue is being raised, since type kind of parameter param in Apply method of BaseInterface
does not have the kind of TypeParameter.
Related information
The text was updated successfully, but these errors were encountered: