Fix S6966 FP: Don't raise on XmlReader and XmlWriter methods #9336
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
Rule S6966 raises on XMLReader methods, however the ability to use these methods successfully depends on whether the object was created with the Async flag set to true in its settings.
Unless the creation is in scope, we should not raise on those as the ability to use those methods might not be under the user's control.
The text was updated successfully, but these errors were encountered: