Fix S1694 FP: Protected abstract methods #9421
Labels
Area: C#
C# rules related issues.
Sprint: Hardening
Fix FPs/FNs/improvements
Type: False Positive
Rule IS triggered when it shouldn't be.
Milestone
Description
The rule shouldn't raise for abstract classes that have protected abstract members, because that's not reproducible with an interface (at least not in the .NET Framework or below C# 8.0).
Repro steps
Expected behavior
The rule should ignore these abstract classes and not raise a warning.
Actual behavior
A warning is raised for the abstract class.
Related information
The text was updated successfully, but these errors were encountered: