浏览代码

Removing NO_PERF symbol.

Bart De Smet 8 年之前
父节点
当前提交
4fc979faee
共有 100 个文件被更改,包括 1 次插入358 次删除
  1. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/LocalScheduler.cs
  2. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.cs
  3. 0 2
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.Synchronize.cs
  4. 0 44
      Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.cs
  5. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/Helpers.cs
  6. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/Producer.cs
  7. 0 101
      Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs
  8. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/Sink.cs
  9. 0 2
      Rx.NET/Source/src/System.Reactive/Internal/TailRecursiveSink.cs
  10. 0 12
      Rx.NET/Source/src/System.Reactive/Linq/IQueryLanguage.cs
  11. 0 8
      Rx.NET/Source/src/System.Reactive/Linq/Observable.Multiple.cs
  12. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/AddRef.cs
  13. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Aggregate.cs
  14. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/All.cs
  15. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Amb.cs
  16. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Any.cs
  17. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/AsObservable.cs
  18. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Average.cs
  19. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Buffer.cs
  20. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Case.cs
  21. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Cast.cs
  22. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Catch.cs
  23. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Collect.cs
  24. 1 3
      Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.Generated.cs
  25. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.Generated.tt
  26. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.cs
  27. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Concat.cs
  28. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Contains.cs
  29. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Count.cs
  30. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/DefaultIfEmpty.cs
  31. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Defer.cs
  32. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Delay.cs
  33. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/DelaySubscription.cs
  34. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Dematerialize.cs
  35. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Distinct.cs
  36. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/DistinctUntilChanged.cs
  37. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Do.cs
  38. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/DoWhile.cs
  39. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/ElementAt.cs
  40. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Empty.cs
  41. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Finally.cs
  42. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/FirstAsync.cs
  43. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/For.cs
  44. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/ForEach.cs
  45. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/FromEvent.cs
  46. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/FromEventPattern.cs
  47. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Generate.cs
  48. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/GetEnumerator.cs
  49. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupBy.cs
  50. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupByUntil.cs
  51. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupJoin.cs
  52. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/If.cs
  53. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/IgnoreElements.cs
  54. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/IsEmpty.cs
  55. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Join.cs
  56. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/LastAsync.cs
  57. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Latest.cs
  58. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/LongCount.cs
  59. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Materialize.cs
  60. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Max.cs
  61. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/MaxBy.cs
  62. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Merge.cs
  63. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Min.cs
  64. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/MinBy.cs
  65. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/MostRecent.cs
  66. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Multicast.cs
  67. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Never.cs
  68. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Next.cs
  69. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/ObserveOn.cs
  70. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/OfType.cs
  71. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/OnErrorResumeNext.cs
  72. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Range.cs
  73. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/RefCount.cs
  74. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Repeat.cs
  75. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Return.cs
  76. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Sample.cs
  77. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Scan.cs
  78. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Select.cs
  79. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SelectMany.cs
  80. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SequenceEqual.cs
  81. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SingleAsync.cs
  82. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Skip.cs
  83. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipLast.cs
  84. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipUntil.cs
  85. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipWhile.cs
  86. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Sum.cs
  87. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Switch.cs
  88. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Synchronize.cs
  89. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Take.cs
  90. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeLast.cs
  91. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeLastBuffer.cs
  92. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeUntil.cs
  93. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeWhile.cs
  94. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Throttle.cs
  95. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Throw.cs
  96. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/TimeInterval.cs
  97. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Timeout.cs
  98. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Timer.cs
  99. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Timestamp.cs
  100. 0 2
      Rx.NET/Source/src/System.Reactive/Linq/Observable/ToArray.cs

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

@@ -87,14 +87,12 @@ namespace System.Reactive.Concurrency
         /// <returns>Object implementing the requested service, if available; null otherwise.</returns>
         protected virtual object GetService(Type serviceType)
         {
-#if !NO_PERF
             if (serviceType == typeof(IStopwatchProvider))
                 return this as IStopwatchProvider;
             else if (serviceType == typeof(ISchedulerLongRunning))
                 return this as ISchedulerLongRunning;
             else if (serviceType == typeof(ISchedulerPeriodic))
                 return this as ISchedulerPeriodic;
-#endif
 
             return null;
         }

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.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. 
 
-#if !NO_PERF
 using System.Reactive.Disposables;
 using System.Threading;
 
@@ -107,4 +106,3 @@ namespace System.Reactive.Concurrency
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.Synchronize.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. 
 
-#if !NO_PERF
 namespace System.Reactive.Concurrency
 {
     class Synchronize<TSource> : Producer<TSource>
@@ -69,4 +68,3 @@ namespace System.Reactive.Concurrency
         }
     }
 }
-#endif

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

@@ -100,11 +100,7 @@ namespace System.Reactive.Concurrency
             if (scheduler == null)
                 throw new ArgumentNullException(nameof(scheduler));
 
-#if !NO_PERF
             return new ObserveOn<TSource>(source, scheduler);
-#else
-            return new AnonymousObservable<TSource>(observer => source.Subscribe(new ObserveOnObserver<TSource>(scheduler, observer, null)));
-#endif
         }
 
         /// <summary>
@@ -122,32 +118,7 @@ namespace System.Reactive.Concurrency
             if (context == null)
                 throw new ArgumentNullException(nameof(context));
 
-#if !NO_PERF
             return new ObserveOn<TSource>(source, context);
-#else
-            return new AnonymousObservable<TSource>(observer =>
-            {
-                context.OperationStarted();
-
-                return source.Subscribe(
-                    x => context.Post(_ =>
-                    {
-                        observer.OnNext(x);
-                    }, null),
-                    exception => context.Post(_ =>
-                    {
-                        observer.OnError(exception);
-                    }, null),
-                    () => context.Post(_ =>
-                    {
-                        observer.OnCompleted();
-                    }, null)
-                ).Finally(() =>
-                {
-                    context.OperationCompleted();
-                });
-            });
-#endif
         }
 
         #endregion
@@ -166,15 +137,7 @@ namespace System.Reactive.Concurrency
             if (source == null)
                 throw new ArgumentNullException(nameof(source));
 
-#if !NO_PERF
             return new Synchronize<TSource>(source);
-#else
-            return new AnonymousObservable<TSource>(observer =>
-            {
-                var gate = new object();
-                return source.Subscribe(Observer.Synchronize(observer, gate));
-            });
-#endif
         }
 
         /// <summary>
@@ -192,14 +155,7 @@ namespace System.Reactive.Concurrency
             if (gate == null)
                 throw new ArgumentNullException(nameof(gate));
 
-#if !NO_PERF
             return new Synchronize<TSource>(source, gate);
-#else
-            return new AnonymousObservable<TSource>(observer =>
-            {
-                return source.Subscribe(Observer.Synchronize(observer, gate));
-            });
-#endif
         }
 
         #endregion

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/Helpers.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. 
 
-#if !NO_PERF
 using System.Collections.Generic;
 
 namespace System.Reactive
@@ -42,4 +41,3 @@ namespace System.Reactive
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/Producer.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. 
 
-#if !NO_PERF
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
 
@@ -95,4 +94,3 @@ namespace System.Reactive
         protected abstract IDisposable Run(IObserver<TSource> observer, IDisposable cancel, Action<IDisposable> setSink);
     }
 }
-#endif

+ 0 - 101
Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs

@@ -9,7 +9,6 @@ using System.Threading;
 
 namespace System.Reactive
 {
-#if !NO_PERF
     using System.Collections.Concurrent;
     using System.Diagnostics;
 
@@ -294,106 +293,6 @@ namespace System.Reactive
             }
         }
     }
-#else
-    class ScheduledObserver<T> : ObserverBase<T>, IScheduledObserver<T>
-    {
-        private bool _isAcquired = false;
-        private bool _hasFaulted = false;
-        private readonly Queue<Action> _queue = new Queue<Action>();
-        private readonly IObserver<T> _observer;
-        private readonly IScheduler _scheduler;
-        private readonly SerialDisposable _disposable = new SerialDisposable();
-
-        public ScheduledObserver(IScheduler scheduler, IObserver<T> observer)
-        {
-            _scheduler = scheduler;
-            _observer = observer;
-        }
-
-        public void EnsureActive(int n)
-        {
-            EnsureActive();
-        }
-
-        public void EnsureActive()
-        {
-            var isOwner = false;
-
-            lock (_queue)
-            {
-                if (!_hasFaulted && _queue.Count > 0)
-                {
-                    isOwner = !_isAcquired;
-                    _isAcquired = true;
-                }
-            }
-
-            if (isOwner)
-            {
-                _disposable.Disposable = _scheduler.Schedule<object>(null, Run);
-            }
-        }
-
-        private void Run(object state, Action<object> recurse)
-        {
-            var work = default(Action);
-            lock (_queue)
-            {
-                if (_queue.Count > 0)
-                    work = _queue.Dequeue();
-                else
-                {
-                    _isAcquired = false;
-                    return;
-                }
-            }
-
-            try
-            {
-                work();
-            }
-            catch
-            {
-                lock (_queue)
-                {
-                    _queue.Clear();
-                    _hasFaulted = true;
-                }
-                throw;
-            }
-
-            recurse(state);
-        }
-
-        protected override void OnNextCore(T value)
-        {
-            lock (_queue)
-                _queue.Enqueue(() => _observer.OnNext(value));
-        }
-
-        protected override void OnErrorCore(Exception exception)
-        {
-            lock (_queue)
-                _queue.Enqueue(() => _observer.OnError(exception));
-        }
-
-        protected override void OnCompletedCore()
-        {
-            lock (_queue)
-                _queue.Enqueue(() => _observer.OnCompleted());
-        }
-
-        protected override void Dispose(bool disposing)
-        {
-            base.Dispose(disposing);
-
-            if (disposing)
-            {
-                _disposable.Dispose();
-            }
-        }
-    }
-#endif
 
     class ObserveOnObserver<T> : ScheduledObserver<T>
     {

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/Sink.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. 
 
-#if !NO_PERF
 using System.Threading;
 
 namespace System.Reactive
@@ -67,4 +66,3 @@ namespace System.Reactive
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Internal/TailRecursiveSink.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. 
 
-#if !NO_PERF
 using System.Collections.Generic;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -216,4 +215,3 @@ namespace System.Reactive
         }
     }
 }
-#endif

+ 0 - 12
Rx.NET/Source/src/System.Reactive/Linq/IQueryLanguage.cs

@@ -492,9 +492,6 @@ namespace System.Reactive.Linq
         IObservable<TSource> Catch<TSource>(params IObservable<TSource>[] sources);
         IObservable<TSource> Catch<TSource>(IEnumerable<IObservable<TSource>> sources);
         IObservable<TResult> CombineLatest<TFirst, TSecond, TResult>(IObservable<TFirst> first, IObservable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector);
-
-#if !NO_PERF
-
         IObservable<TResult> CombineLatest<T1, T2, T3, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, Func<T1, T2, T3, TResult> resultSelector);
         IObservable<TResult> CombineLatest<T1, T2, T3, T4, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, Func<T1, T2, T3, T4, TResult> resultSelector);
         IObservable<TResult> CombineLatest<T1, T2, T3, T4, T5, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, Func<T1, T2, T3, T4, T5, TResult> resultSelector);
@@ -509,9 +506,6 @@ namespace System.Reactive.Linq
         IObservable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> resultSelector);
         IObservable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, IObservable<T15> source15, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> resultSelector);
         IObservable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, IObservable<T15> source15, IObservable<T16> source16, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> resultSelector);
-
-#endif
-
         IObservable<TResult> CombineLatest<TSource, TResult>(IEnumerable<IObservable<TSource>> sources, Func<IList<TSource>, TResult> resultSelector);
         IObservable<IList<TSource>> CombineLatest<TSource>(IEnumerable<IObservable<TSource>> sources);
         IObservable<IList<TSource>> CombineLatest<TSource>(params IObservable<TSource>[] sources);
@@ -543,9 +537,6 @@ namespace System.Reactive.Linq
         IObservable<TResult> Zip<TSource, TResult>(IEnumerable<IObservable<TSource>> sources, Func<IList<TSource>, TResult> resultSelector);
         IObservable<IList<TSource>> Zip<TSource>(IEnumerable<IObservable<TSource>> sources);
         IObservable<IList<TSource>> Zip<TSource>(params IObservable<TSource>[] sources);
-
-#if !NO_PERF
-
         IObservable<TResult> Zip<T1, T2, T3, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, Func<T1, T2, T3, TResult> resultSelector);
         IObservable<TResult> Zip<T1, T2, T3, T4, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, Func<T1, T2, T3, T4, TResult> resultSelector);
         IObservable<TResult> Zip<T1, T2, T3, T4, T5, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, Func<T1, T2, T3, T4, T5, TResult> resultSelector);
@@ -560,9 +551,6 @@ namespace System.Reactive.Linq
         IObservable<TResult> Zip<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> resultSelector);
         IObservable<TResult> Zip<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, IObservable<T15> source15, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> resultSelector);
         IObservable<TResult> Zip<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(IObservable<T1> source1, IObservable<T2> source2, IObservable<T3> source3, IObservable<T4> source4, IObservable<T5> source5, IObservable<T6> source6, IObservable<T7> source7, IObservable<T8> source8, IObservable<T9> source9, IObservable<T10> source10, IObservable<T11> source11, IObservable<T12> source12, IObservable<T13> source13, IObservable<T14> source14, IObservable<T15> source15, IObservable<T16> source16, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> resultSelector);
-
-#endif
-
         IObservable<TResult> Zip<TFirst, TSecond, TResult>(IObservable<TFirst> first, IEnumerable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector);
 
         IObservable<TSource> Concat<TSource>(IObservable<Task<TSource>> sources);

+ 0 - 8
Rx.NET/Source/src/System.Reactive/Linq/Observable.Multiple.cs

@@ -227,8 +227,6 @@ namespace System.Reactive.Linq
             return s_impl.CombineLatest<TSource1, TSource2, TResult>(first, second, resultSelector);
         }
 
-#if !NO_PERF
-
         /* The following code is generated by a tool checked in to $/.../Source/Tools/CodeGenerators. */
 
         #region CombineLatest auto-generated code (8/3/2012 6:37:08 PM)
@@ -977,8 +975,6 @@ namespace System.Reactive.Linq
 
         #endregion
 
-#endif
-
         /// <summary>
         /// Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
         /// </summary>
@@ -1568,8 +1564,6 @@ namespace System.Reactive.Linq
             return s_impl.Zip<TSource1, TSource2, TResult>(first, second, resultSelector);
         }
 
-#if !NO_PERF
-
         /* The following code is generated by a tool checked in to $/.../Source/Tools/CodeGenerators. */
 
         #region Zip auto-generated code (8/3/2012 6:37:02 PM)
@@ -2318,8 +2312,6 @@ namespace System.Reactive.Linq
 
         #endregion
 
-#endif
-
         /// <summary>
         /// Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
         /// </summary>

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/AddRef.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -54,4 +53,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Aggregate.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -157,4 +156,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/All.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -72,4 +71,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Amb.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -172,4 +171,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Any.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -114,4 +113,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/AsObservable.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -59,4 +58,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Average.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -702,4 +701,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Buffer.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
@@ -708,4 +707,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Case.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -84,4 +83,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Cast.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -61,4 +60,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Catch.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -192,4 +191,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Collect.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive;
@@ -138,4 +137,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 1 - 3
Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.Generated.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
@@ -15,7 +14,7 @@ namespace System.Reactive.Linq.ObservableImpl
 
     /* The following code is generated by a T4 template. */
 
-    #region CombineLatest auto-generated code (4/13/2017 1:42:05 PM)
+    #region CombineLatest auto-generated code (4/14/2017 11:25:12 AM)
 
     class CombineLatest<T1, T2, T3, TResult> : Producer<TResult>
     {
@@ -1317,4 +1316,3 @@ namespace System.Reactive.Linq.ObservableImpl
 
     #endregion
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.Generated.tt

@@ -8,7 +8,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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
@@ -123,4 +122,3 @@ for (var j = 1; j <= i; j++)
 
     #endregion
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/CombineLatest.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
@@ -557,4 +556,3 @@ namespace System.Reactive.Linq.ObservableImpl
 
     #endregion
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Concat.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Concurrency;
@@ -51,4 +50,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Contains.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -75,4 +74,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Count.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -123,4 +122,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/DefaultIfEmpty.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -59,4 +58,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Defer.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -75,4 +74,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Delay.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. 
 
-#if !NO_PERF
 using System.Collections.Generic;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -730,4 +729,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/DelaySubscription.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 
@@ -75,4 +74,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Dematerialize.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -62,4 +61,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Distinct.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -74,4 +73,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/DistinctUntilChanged.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -93,4 +92,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Do.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -91,4 +90,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/DoWhile.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -53,4 +52,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/ElementAt.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -74,4 +73,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Empty.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 
@@ -47,4 +46,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Finally.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -72,4 +71,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/FirstAsync.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -131,4 +130,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/For.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -52,4 +51,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/ForEach.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. 
 
-#if !NO_PERF
 using System;
 using System.Threading;
 
@@ -121,4 +120,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/FromEvent.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. 
 
-#if !NO_PERF
 using System;
 using System.Diagnostics;
 using System.Reactive.Concurrency;
@@ -367,4 +366,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/FromEventPattern.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -136,4 +135,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Generate.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. 
 
-#if !NO_PERF
 using System;
 using System.Diagnostics;
 using System.Reactive.Concurrency;
@@ -291,4 +290,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/GetEnumerator.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Concurrent;
 using System.Collections.Generic;
@@ -101,4 +100,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupBy.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -176,4 +175,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupByUntil.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -351,4 +350,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/GroupJoin.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -325,4 +324,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/If.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -80,4 +79,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/IgnoreElements.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -53,4 +52,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/IsEmpty.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -52,4 +51,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Join.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -345,4 +344,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/LastAsync.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -139,4 +138,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Latest.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Threading;
@@ -130,4 +129,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/LongCount.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -123,4 +122,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Materialize.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -56,4 +55,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Max.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -791,4 +790,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/MaxBy.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -107,4 +106,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Merge.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -390,4 +389,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Min.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -791,4 +790,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/MinBy.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -107,4 +106,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/MostRecent.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Threading;
@@ -84,4 +83,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Multicast.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 using System.Reactive.Subjects;
@@ -81,4 +80,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Never.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -19,4 +18,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Next.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Threading;
@@ -141,4 +140,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/ObserveOn.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Threading;
@@ -81,4 +80,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/OfType.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -52,4 +51,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/OnErrorResumeNext.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -68,4 +67,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Range.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -82,4 +81,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/RefCount.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 using System.Reactive.Subjects;
@@ -87,4 +86,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Repeat.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -126,4 +125,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Return.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 
@@ -50,4 +49,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Sample.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -242,4 +241,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Scan.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -145,4 +144,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Select.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -124,4 +123,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SelectMany.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. 
 
-#if !NO_PERF
 using System.Collections.Generic;
 using System.Reactive.Disposables;
 using System.Threading;
@@ -1717,4 +1716,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SequenceEqual.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Disposables;
@@ -327,4 +326,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SingleAsync.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -153,4 +152,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Skip.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -150,4 +149,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipLast.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Concurrency;
@@ -124,4 +123,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipUntil.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -209,4 +208,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/SkipWhile.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -138,4 +137,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Sum.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -516,4 +515,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Switch.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Disposables;
 
@@ -151,4 +150,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Synchronize.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -70,4 +69,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Take.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -175,4 +174,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeLast.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Reactive.Concurrency;
@@ -229,4 +228,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeLastBuffer.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -140,4 +139,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeUntil.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -257,4 +256,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/TakeWhile.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. 
 
-#if !NO_PERF
 using System;
 
 namespace System.Reactive.Linq.ObservableImpl
@@ -148,4 +147,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Throttle.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -279,4 +278,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Throw.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 
@@ -49,4 +48,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/TimeInterval.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. 
 
-#if !NO_PERF
 using System;
 using System.Diagnostics;
 using System.Reactive.Concurrency;
@@ -72,4 +71,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Timeout.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 using System.Reactive.Disposables;
@@ -431,4 +430,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Timer.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. 
 
-#if !NO_PERF
 using System;
 using System.Diagnostics;
 using System.Reactive.Concurrency;
@@ -263,4 +262,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/Timestamp.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. 
 
-#if !NO_PERF
 using System;
 using System.Reactive.Concurrency;
 
@@ -55,4 +54,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

+ 0 - 2
Rx.NET/Source/src/System.Reactive/Linq/Observable/ToArray.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. 
 
-#if !NO_PERF
 using System;
 using System.Collections.Generic;
 
@@ -54,4 +53,3 @@ namespace System.Reactive.Linq.ObservableImpl
         }
     }
 }
-#endif

部分文件因为文件数量过多而无法显示