Nito.Disposables.DisposableExtensions public static class DisposableExtensions Extension methods for disposables. Documentation Code public static IAsyncDisposable ToAsyncDisposable(this IDisposable this) Treats the synchronous disposable as an asynchronous disposable. The asynchronous disposal will actually run synchronously.