If I stumble upon an undisposed field/property, there should be a code fix, that disposes this field/property in Dispose(). If there is no dispose method, it should be created and the IDisposable interface should be added.
If ObjectCreation implements IDisposable but stored property dosn't, the call to the property has to call (prop as IDisposable)?.Dispose() instead of prop.Dispose()
While adding additional disposable to Dispose method via code fix, they are appended to last line instead of a new line.
If I stumble upon an undisposed field/property, there should be a code fix, that disposes this field/property in Dispose(). If there is no dispose method, it should be created and the IDisposable interface should be added.