DisposableFixer icon indicating copy to clipboard operation
DisposableFixer copied to clipboard

If Dispose(bool) is implemented, CodeFix with Dispose should not be offered

Open BADF00D opened this issue 5 years ago • 0 comments

Prerequisites

  • [x] I have written a descriptive issue title
  • [x] I have verified that I am running the latest version of DisposableFixer: 2.4.2
  • [x] I have searched open and closed issues to ensure it has not already been reported

Description

If the Dispose-Pattern is implemented, the should be no CodeFix to offer to dispose a disposable in DIspose(), but in Dispose(bool) instead

Source Code


Screenshot

BADF00D avatar Mar 10 '20 09:03 BADF00D