BADF00D / DisposableFixer

This is a Visual Studio Extension and NuGet package that should identify and fix problems as memleaks while using IDisposables.
Other
35 stars 7 forks source link

Add analyzer to warn if Dispose is Empty. #91

Closed BADF00D closed 5 years ago

BADF00D commented 6 years ago

Prerequisites

Description

An empty dispose has no usage at all. So if Dispose-method contains no MethodInvocations, then there should be a Code-Fix to remove it. But there should be no warning, if IDisposeable is declared in base interface.

Source Code

Screenshot