Title: Do not dispose objects multiple times
Description:
A method implementation contains code paths that could cause multiple calls to System.IDisposable.Dispose or a Dispose equivalent (such as a Close() method on some types) on the same object.
Dependency: Dataflow
Notes:
Thank you @LMLB. We will take a look.
@LMLB You'll be happy know we've cut this!
Thank you!
We are going to implement this.
Lets put this rule port on hold given the negative feedback on the rule above and the fact that implementing it needs path sensitive flow analysis (which is not yet implemented in the features/dataflow branch). We will reconsider this if we get customer requests.
Most helpful comment
@LMLB You'll be happy know we've cut this!