Closed BADF00D closed 5 years ago
When defining a local function that doesn't hide the IDisposable, there should be no warning.
using System.IO; namespace RxTimeoutTest { internal class SomeClass { public object CreateDisposable() { MemoryStream Create() => new MemoryStream(); return Create(); } } }
Prerequisites
Description
When defining a local function that doesn't hide the IDisposable, there should be no warning.
Source Code
Screenshot