You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prepare tests and test cases - mark old Noncompliant as FIXME Non-compliant
Do not register in SymbolicExecutionRunner (yet)
Implement
Implement rule logic, switch ShouldExecute to true
Register in SymbolicExecutionRunner
Update ITs
Finish the rule
Implement ShouldExecute
Remove all FIXME from test cases, mark them as FNs or Compliant
Additional steps to improve the rule:
Implement different messages according to the issue raised. One message for double disposal through the user calling Dispose or Close twice and one for the using statement, where the Dispose is called in Finally hidden behind using.
The text was updated successfully, but these errors were encountered:
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: