You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my mind I'd expect to clean up the IDisposable I received from Func because the intent IMHO is to pass ownership to us of the final result and thus responsibility of cleanup.
Is this behaviour changed at some point? The example provided no longer generates IDISP001 for me with version 4.0.1. I have a constructor taking a factory dependency (e.g. Func<Stream>), and I would expect IDISP001 to be raised whenever I use that factory method without a using.
The text was updated successfully, but these errors were encountered: