Fix S2259 FN: Auto-Properties don't learn ObjectConstraint #6930
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: False Negative
Rule is NOT triggered when it should be.
Milestone
Instance Fields are tracked by
TrackedSymbol
while auto-properties are not:The false negative looks like so:
Fix:
Add switch expression case
to
IOperationExtensions.TrackedSymbol
.The text was updated successfully, but these errors were encountered: