// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Reactive.Disposables { /// /// Represents a disposable that does nothing on disposal. /// internal sealed class DefaultDisposable : IDisposable { /// /// Singleton default disposable. /// public static readonly DefaultDisposable Instance = new DefaultDisposable(); private DefaultDisposable() { } /// /// Does nothing. /// public void Dispose() { // no op } } }