DummyDisposable.cs 508 B

123456789101112131415161718
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. using System;
  5. namespace ReactiveTests.Dummies
  6. {
  7. internal class DummyDisposable : IDisposable
  8. {
  9. public static readonly DummyDisposable Instance = new DummyDisposable();
  10. public void Dispose()
  11. {
  12. throw new NotImplementedException();
  13. }
  14. }
  15. }