Remove redundant Dispose/Close call
ProprietaryRemove Dispose/Close calls on objects already in a using block.
OpenRewrite. Recipes. CSharp. CodeQuality. Redundancy. RemoveRedundantDisposeOrClosemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Redundancy. RemoveRedundantDisposeOrCloseInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.