Migrate S3966 to the new Symbolic Execution engine #7302
Labels
Area: C#
C# rules related issues.
Area: CFG/SE
CFG and SE related issues.
Sprint: SE
Short-lived* label for epic MMF-3077 *troll
Type: Improvement
Making existing code better.
Projects
Milestone
Migrate
ObjectsShouldNotBeDisposedMoreThanOnce
Split the work in 3 PRs:
ShouldExecute
falseNoncompliant
asFIXME Non-compliant
SymbolicExecutionRunner
(yet)ShouldExecute
to trueSymbolicExecutionRunner
ShouldExecute
FIXME
from test cases, mark them as FNs or CompliantAdditional steps to improve the rule:
Implement different messages according to the issue raised. One message for double disposal through the user calling
Dispose
orClose
twice and one for theusing statement
, where theDispose
is called inFinally
hidden behind using.The text was updated successfully, but these errors were encountered: