S2259: Reset constraints on calls in static methods #6100
Labels
Area: C#
C# rules related issues.
Area: CFG/SE
CFG and SE related issues.
Type: CFG/SE FPs
Rule IS triggered when it shouldn't be for CFG and SE rules.
Projects
Milestone
Same as calls with a
this
receiver (aka instance methods) reset field constraints, calls to static methods should also reset field constraints:The text was updated successfully, but these errors were encountered: