浏览代码

Removing some unused usings.

Bart De Smet 8 年之前
父节点
当前提交
4b23c4ecb4
共有 32 个文件被更改,包括 4 次插入57 次删除
  1. 0 1
      Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs
  2. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/CatchScheduler.cs
  3. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs
  4. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/DisableOptimizationsScheduler.cs
  5. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/LocalScheduler.cs
  6. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Recursive.cs
  7. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.Emulation.cs
  8. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.cs
  9. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs
  10. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Wrappers.cs
  11. 0 3
      Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.cs
  12. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerDefaults.cs
  13. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerQueue.cs
  14. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerWrapper.cs
  15. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.cs
  16. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.Synchronize.cs
  17. 0 1
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.cs
  18. 1 1
      Rx.NET/Source/src/System.Reactive/Concurrency/SynchronizationContextScheduler.cs
  19. 0 3
      Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs
  20. 0 2
      Rx.NET/Source/src/System.Reactive/Disposables/RefCountDisposable.cs
  21. 0 2
      Rx.NET/Source/src/System.Reactive/EnlightenmentProvider.cs
  22. 0 1
      Rx.NET/Source/src/System.Reactive/Internal/CheckedObserver.cs
  23. 0 1
      Rx.NET/Source/src/System.Reactive/Internal/ConcatSink.cs
  24. 0 1
      Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs
  25. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/Helpers.cs
  26. 0 1
      Rx.NET/Source/src/System.Reactive/Internal/IConcatenatable.cs
  27. 0 3
      Rx.NET/Source/src/System.Reactive/Internal/PlatformEnlightenmentProvider.cs
  28. 0 1
      Rx.NET/Source/src/System.Reactive/Internal/QueryServices.cs
  29. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/SafeObserver.cs
  30. 0 4
      Rx.NET/Source/src/System.Reactive/Internal/SynchronizationContextExtensions.cs
  31. 0 1
      Rx.NET/Source/src/System.Reactive/Subjects/AsyncSubject.cs
  32. 3 4
      Rx.NET/Source/src/System.Reactive/Subjects/SubjectBase.cs

+ 0 - 1
Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Threading;
 
 namespace System.Reactive

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/CatchScheduler.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Reactive.Disposables;
 
 #if !NO_WEAKTABLE

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs

@@ -2,9 +2,7 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System.Collections.Generic;
 using System.Reactive.Disposables;
-using System.Threading;
 
 namespace System.Reactive.Concurrency
 {

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/DisableOptimizationsScheduler.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Linq;
 
 #if !NO_WEAKTABLE

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/LocalScheduler.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive.Concurrency
 {
     /// <summary>

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Recursive.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Reactive.Disposables;
 
 namespace System.Reactive.Concurrency

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.Emulation.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Diagnostics;
 using System.Reactive.Disposables;
 using System.Reactive.PlatformServices;

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive.Concurrency
 {
     //

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Reactive.Disposables;
 
 namespace System.Reactive.Concurrency

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Wrappers.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive.Concurrency
 {
     public static partial class Scheduler

+ 0 - 3
Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-using System.Reactive.Disposables;
 using System.Reactive.PlatformServices;
 using System.Globalization;
 
@@ -19,7 +17,6 @@ namespace System.Reactive.Concurrency
 
         // HACK: Causes race condition with Locks in DefaultScheduler's static ctor chain
         // private static DefaultScheduler s_default = DefaultScheduler.Instance;
-        
 
         /// <summary>
         /// Gets the current time according to the local machine's system clock.

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerDefaults.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive.Concurrency
 {
     internal static class SchedulerDefaults

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerQueue.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive.Concurrency
 {
     /// <summary>

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/SchedulerWrapper.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 #if !NO_WEAKTABLE
 using System.Runtime.CompilerServices;
 #endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.cs

@@ -3,8 +3,6 @@
 // See the LICENSE file in the project root for more information. 
 
 #if !NO_PERF
-using System;
-using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
 using System.Threading;
 

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.Synchronize.cs

@@ -3,8 +3,6 @@
 // See the LICENSE file in the project root for more information. 
 
 #if !NO_PERF
-using System;
-
 namespace System.Reactive.Concurrency
 {
     class Synchronize<TSource> : Producer<TSource>

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.ComponentModel;
 using System.Reactive.Disposables;
 using System.Threading;

+ 1 - 1
Rx.NET/Source/src/System.Reactive/Concurrency/SynchronizationContextScheduler.cs

@@ -25,7 +25,7 @@ namespace System.Reactive.Concurrency
         {
             if (context == null)
                 throw new ArgumentNullException(nameof(context));
-            
+
             _context = context;
             _alwaysPost = true;
         }

+ 0 - 3
Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs

@@ -3,9 +3,6 @@
 // See the LICENSE file in the project root for more information. 
 
 #if NO_THREAD
-using System;
-using System.Threading;
-
 namespace System.Reactive.Concurrency
 {
     class Thread

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Disposables/RefCountDisposable.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Threading;
 
 namespace System.Reactive.Disposables
@@ -25,7 +24,6 @@ namespace System.Reactive.Disposables
         /// <exception cref="ArgumentNullException"><paramref name="disposable"/> is null.</exception>
         public RefCountDisposable(IDisposable disposable) : this(disposable, false)
         {
-            
         }
 
         /// <summary>

+ 0 - 2
Rx.NET/Source/src/System.Reactive/EnlightenmentProvider.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System.Reactive.Concurrency;
-
 namespace System.Reactive.PlatformServices
 {
     /// <summary>

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Internal/CheckedObserver.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Threading;
 
 namespace System.Reactive

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Internal/ConcatSink.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Collections.Generic;
 
 namespace System.Reactive

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs

@@ -7,7 +7,6 @@
 //
 using System.ComponentModel;
 using System.Diagnostics;
-using System.Reactive;
 using System.Reactive.Concurrency;
 using System.Reactive.Linq;
 using System.Reflection;

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/Helpers.cs

@@ -3,9 +3,7 @@
 // See the LICENSE file in the project root for more information. 
 
 #if !NO_PERF
-using System;
 using System.Collections.Generic;
-using System.Reactive.Linq.ObservableImpl;
 
 namespace System.Reactive
 {

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Internal/IConcatenatable.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Collections.Generic;
 
 namespace System.Reactive

+ 0 - 3
Rx.NET/Source/src/System.Reactive/Internal/PlatformEnlightenmentProvider.cs

@@ -3,7 +3,6 @@
 // See the LICENSE file in the project root for more information. 
 
 using System.ComponentModel;
-using System.Reflection;
 
 namespace System.Reactive.PlatformServices
 {
@@ -63,6 +62,4 @@ namespace System.Reactive.PlatformServices
             return new CurrentPlatformEnlightenmentProvider();
         }
     }
-
-
 }

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Internal/QueryServices.cs

@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
 using System.Reactive.PlatformServices;
 
 namespace System.Reactive.Linq

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/SafeObserver.cs

@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the Apache 2.0 License.
 // See the LICENSE file in the project root for more information. 
 
-using System;
-
 namespace System.Reactive
 {
     //

+ 0 - 4
Rx.NET/Source/src/System.Reactive/Internal/SynchronizationContextExtensions.cs

@@ -3,10 +3,6 @@
 // See the LICENSE file in the project root for more information. 
 
 #if !NO_SYNCCTX
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using System.Threading;
 
 namespace System.Reactive.Concurrency

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Subjects/AsyncSubject.cs

@@ -5,7 +5,6 @@
 using System.Reactive.Disposables;
 using System.Threading;
 using System.Runtime.CompilerServices;
-using System.Reactive.Concurrency;
 
 namespace System.Reactive.Subjects
 {

+ 3 - 4
Rx.NET/Source/src/System.Reactive/Subjects/SubjectBase.cs

@@ -1,7 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information. 
 
 namespace System.Reactive.Subjects
 {