From 5ed1a30c34963a76455cb7c166133d64eda8b8d1 Mon Sep 17 00:00:00 2001 From: Ian Griffiths Date: Wed, 19 Apr 2023 21:43:32 +0100 Subject: [PATCH] Remove obsolete #if directives (#1915) --- .../Source/facades/GlobalAssemblyVersion.cs | 16 +- .../Microsoft.Reactive.Testing/Recorded.cs | 2 - .../Subscription.cs | 2 - .../ExcludeFromCodeCoverageAttribute.cs | 15 - ...ConcurrencyAbstractionLayerImpl.Windows.cs | 84 - .../ConcurrencyAbstractionLayerImpl.cs | 2 - .../Concurrency/EventLoopScheduler.cs | 5 - .../Concurrency/NewThreadScheduler.cs | 5 - .../Concurrency/Thread.Stub.cs | 32 - .../Concurrency/ThreadPoolScheduler.cs | 2 +- .../ExcludeFromCodeCoverageAttribute.cs | 15 - .../CurrentPlatformEnlightenmentProvider.cs | 2 - .../Internal/HalfSerializer.cs | 2 - .../Internal/ReflectionUtils.cs | 4 - .../src/System.Reactive/Internal/Stubs.cs | 6 - .../Linq/Qbservable.Generated.cs | 2440 ----------------- .../System.Reactive/Linq/Qbservable.Joins.cs | 18 - .../src/System.Reactive/Linq/Qbservable.cs | 8 - .../Linq/QbservableEx.Generated.cs | 50 - .../System.Reactive/Linq/QbservableEx.NAry.cs | 124 +- .../System.Reactive/Linq/QbservableEx.NAry.tt | 10 - .../src/System.Reactive/Notification.cs | 8 - .../src/System.Reactive/ObservableQuery.cs | 17 - .../Desktop/Linq/Observable.Remoting.cs | 15 - .../src/System.Reactive/TimeInterval.cs | 2 - .../Source/src/System.Reactive/Timestamped.cs | 2 - Rx.NET/Source/src/System.Reactive/Unit.cs | 2 - .../Concurrency/CurrentThreadSchedulerTest.cs | 6 +- .../Tests/Concurrency/DefaultSchedulerTest.cs | 3 +- .../Concurrency/EventLoopSchedulerTest.cs | 4 - .../Concurrency/ImmediateSchedulerTest.cs | 6 +- .../Concurrency/NewThreadSchedulerTest.cs | 7 +- .../Tests/Concurrency/SchedulerTest.cs | 13 +- .../SynchronizationContextSchedulerTest.cs | 4 - .../Concurrency/TaskPoolSchedulerTest.cs | 4 - .../Concurrency/ThreadPoolSchedulerTest.cs | 2 - .../Tests/Concurrency/VirtualSchedulerTest.cs | 5 +- .../DefaultConcurrencyAbstractionLayerTest.cs | 4 - .../Tests/Linq/Observable/AverageTest.cs | 5 +- .../Tests/Linq/Observable/CatchTest.cs | 2 +- .../Tests/Linq/Observable/ConcatTest.cs | 2 - .../Tests/Linq/Observable/CountTest.cs | 6 +- .../Tests/Linq/Observable/DelayTest.cs | 8 - .../Linq/Observable/FirstOrDefaultTest.cs | 2 - .../Tests/Linq/Observable/ForEachAsyncTest.cs | 3 - .../Tests/Linq/Observable/FromEventTest.cs | 3 +- .../Tests/Linq/Observable/LongCountTest.cs | 4 +- .../Tests/Linq/Observable/NextTest.cs | 3 - .../Tests/Linq/Observable/ObserveOnTest.cs | 14 +- .../Linq/Observable/OnErrorResumeNextTest.cs | 2 +- .../Tests/Linq/Observable/SynchronizeTest.cs | 3 - .../Tests/Linq/Observable/TimerTest.cs | 3 - .../Tests/Linq/Observable/WaitTest.cs | 5 - .../Tests/Linq/QbservableTest.cs | 11 +- .../Tests/Linq/Subjects/AsyncSubjectTest.cs | 5 - .../Tests/Linq/Subjects/SubjectTest.cs | 2 - .../Tests/ObserverTest.cs | 2 - .../Tests/RegressionTest.cs | 4 - Rx.NET/tools/HomoIcon/Program.cs | 16 - 59 files changed, 30 insertions(+), 3023 deletions(-) delete mode 100644 Rx.NET/Source/src/System.Reactive.Observable.Aliases/ExcludeFromCodeCoverageAttribute.cs delete mode 100644 Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.Windows.cs delete mode 100644 Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs delete mode 100644 Rx.NET/Source/src/System.Reactive/ExcludeFromCodeCoverageAttribute.cs diff --git a/Rx.NET/Source/facades/GlobalAssemblyVersion.cs b/Rx.NET/Source/facades/GlobalAssemblyVersion.cs index b757361e5a..605e181408 100644 --- a/Rx.NET/Source/facades/GlobalAssemblyVersion.cs +++ b/Rx.NET/Source/facades/GlobalAssemblyVersion.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. @@ -6,19 +6,9 @@ using System.Reflection; -#if NETSTANDARD1_0 || WP8 -[assembly: AssemblyVersion("3.0.0.0")] -#elif NETSTANDARD1_1 || WINDOWS8 || NET45 || NETCORE45 -[assembly: AssemblyVersion("3.0.1000.0")] -#elif NETSTANDARD1_2 || WINDOWS81 || NET451 || NETCORE451 || WPA81 -[assembly: AssemblyVersion("3.0.2000.0")] -#elif NETSTANDARD1_3 || NET46 -[assembly: AssemblyVersion("3.0.3000.0")] -#elif NETSTANDARD1_4 || UAP10_0 || WINDOWS_UWP || NETCORE50 || NET461 +#if WINDOWS_UWP [assembly: AssemblyVersion("3.0.4000.0")] -#elif NETSTANDARD1_5 || NET462 -[assembly: AssemblyVersion("3.0.5000.0")] -#elif NETSTANDARD1_6 || NETCOREAPP1_0 || NET463 || NET472 || NETSTANDARD2_0 +#elif NET472 || NETSTANDARD2_0 [assembly: AssemblyVersion("3.0.6000.0")] #else // this is here to prevent the build system from complaining. It should never be hit [assembly: AssemblyVersion("invalid")] diff --git a/Rx.NET/Source/src/Microsoft.Reactive.Testing/Recorded.cs b/Rx.NET/Source/src/Microsoft.Reactive.Testing/Recorded.cs index a06735090e..a4bc9d8413 100644 --- a/Rx.NET/Source/src/Microsoft.Reactive.Testing/Recorded.cs +++ b/Rx.NET/Source/src/Microsoft.Reactive.Testing/Recorded.cs @@ -14,9 +14,7 @@ namespace Microsoft.Reactive.Testing /// /// Type of the value. [DebuggerDisplay("{Value}@{Time}")] -#if !NO_SERIALIZABLE [Serializable] -#endif public readonly struct Recorded : IEquatable> { // NB: Keep these fields for compat with serialized state. diff --git a/Rx.NET/Source/src/Microsoft.Reactive.Testing/Subscription.cs b/Rx.NET/Source/src/Microsoft.Reactive.Testing/Subscription.cs index b05869f971..4c0bb0f5b9 100644 --- a/Rx.NET/Source/src/Microsoft.Reactive.Testing/Subscription.cs +++ b/Rx.NET/Source/src/Microsoft.Reactive.Testing/Subscription.cs @@ -12,9 +12,7 @@ namespace Microsoft.Reactive.Testing /// Records information about subscriptions to and unsubscriptions from observable sequences. /// [DebuggerDisplay("({Subscribe}, {Unsubscribe})")] -#if !NO_SERIALIZABLE [Serializable] -#endif public readonly struct Subscription : IEquatable { /// diff --git a/Rx.NET/Source/src/System.Reactive.Observable.Aliases/ExcludeFromCodeCoverageAttribute.cs b/Rx.NET/Source/src/System.Reactive.Observable.Aliases/ExcludeFromCodeCoverageAttribute.cs deleted file mode 100644 index 22b8f3eca4..0000000000 --- a/Rx.NET/Source/src/System.Reactive.Observable.Aliases/ExcludeFromCodeCoverageAttribute.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT License. -// See the LICENSE file in the project root for more information. - -#if NO_CODE_COVERAGE_ATTRIBUTE - -namespace System.Diagnostics.CodeAnalysis -{ - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)] - internal sealed class ExcludeFromCodeCoverageAttribute : Attribute - { - } -} - -#endif \ No newline at end of file diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.Windows.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.Windows.cs deleted file mode 100644 index 9bbf1fe40e..0000000000 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.Windows.cs +++ /dev/null @@ -1,84 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT License. -// See the LICENSE file in the project root for more information. - -#if NO_THREAD && WINDOWS -using System.Threading; - -namespace System.Reactive.Concurrency -{ - internal sealed class /*Default*/ConcurrencyAbstractionLayerImpl : IConcurrencyAbstractionLayer - { - public IDisposable StartTimer(Action action, object? state, TimeSpan dueTime) - { - var res = global::Windows.System.Threading.ThreadPoolTimer.CreateTimer( - tpt => - { - action(state); - }, - Normalize(dueTime) - ); - - return res.AsDisposable(); - } - - public IDisposable StartPeriodicTimer(Action action, TimeSpan period) - { - // - // The WinRT thread pool is based on the Win32 thread pool and cannot handle - // sub-1ms resolution. When passing a lower period, we get single-shot - // timer behavior instead. See MSDN documentation for CreatePeriodicTimer - // for more information. - // - if (period < TimeSpan.FromMilliseconds(1)) - throw new ArgumentOutOfRangeException(nameof(period), Strings_PlatformServices.WINRT_NO_SUB1MS_TIMERS); - - var res = global::Windows.System.Threading.ThreadPoolTimer.CreatePeriodicTimer( - tpt => - { - action(); - }, - period - ); - - return res.AsDisposable(); - } - - public IDisposable QueueUserWorkItem(Action action, object? state) - { - var res = global::Windows.System.Threading.ThreadPool.RunAsync(iaa => - { - action(state); - }); - - return res.AsDisposable(); - } - - public void Sleep(TimeSpan timeout) - { - var e = new ManualResetEventSlim(); - - global::Windows.System.Threading.ThreadPoolTimer.CreateTimer( - tpt => - { - e.Set(); - }, - Normalize(timeout) - ); - - e.Wait(); - } - - public IStopwatch StartStopwatch() => new StopwatchImpl(); - - public bool SupportsLongRunning => false; - - public void StartThread(Action action, object? state) - { - throw new NotSupportedException(); - } - - private TimeSpan Normalize(TimeSpan dueTime) => dueTime < TimeSpan.Zero ? TimeSpan.Zero : dueTime; - } -} -#endif diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs index 6d537d7431..beb52f0735 100644 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs +++ b/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. -#if !NO_THREAD using System.Reactive.Disposables; using System.Threading; @@ -251,4 +250,3 @@ private void Loop() } } } -#endif diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/EventLoopScheduler.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/EventLoopScheduler.cs index c568b6c410..30c287767a 100644 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/EventLoopScheduler.cs +++ b/Rx.NET/Source/src/System.Reactive/Concurrency/EventLoopScheduler.cs @@ -86,7 +86,6 @@ public EventLoopScheduler() { } -#if !NO_THREAD /// /// Creates an object that schedules units of work on a designated thread, using the specified factory to control thread creation options. /// @@ -94,10 +93,6 @@ public EventLoopScheduler() /// is null. public EventLoopScheduler(Func threadFactory) { -#else - internal EventLoopScheduler(Func threadFactory) - { -#endif _threadFactory = threadFactory ?? throw new ArgumentNullException(nameof(threadFactory)); _stopwatch = ConcurrencyAbstractionLayer.Current.StartStopwatch(); diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/NewThreadScheduler.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/NewThreadScheduler.cs index 6f91a21279..6262ac4fca 100644 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/NewThreadScheduler.cs +++ b/Rx.NET/Source/src/System.Reactive/Concurrency/NewThreadScheduler.cs @@ -29,7 +29,6 @@ public NewThreadScheduler() /// public static NewThreadScheduler Default => Instance.Value; -#if !NO_THREAD /// /// Creates an object that schedules each unit of work on a separate thread. /// @@ -37,10 +36,6 @@ public NewThreadScheduler() /// is null. public NewThreadScheduler(Func threadFactory) { -#else - private NewThreadScheduler(Func threadFactory) - { -#endif _threadFactory = threadFactory ?? throw new ArgumentNullException(nameof(threadFactory)); } diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs deleted file mode 100644 index 28f95ed63e..0000000000 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/Thread.Stub.cs +++ /dev/null @@ -1,32 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT License. -// See the LICENSE file in the project root for more information. - -#if NO_THREAD -using System.Threading.Tasks; - -namespace System.Reactive.Concurrency -{ - internal sealed class Thread - { - private readonly ThreadStart _start; - - public Thread(ThreadStart start) - { - _start = start; - } - - public string Name { get; set; } - public bool IsBackground { get; set; } - - public void Start() - { - Task.Factory.StartNew(Run, TaskCreationOptions.LongRunning); - } - - private void Run() => _start(); - } - - internal delegate void ThreadStart(); -} -#endif diff --git a/Rx.NET/Source/src/System.Reactive/Concurrency/ThreadPoolScheduler.cs b/Rx.NET/Source/src/System.Reactive/Concurrency/ThreadPoolScheduler.cs index 8cf72e599f..5696a922c5 100644 --- a/Rx.NET/Source/src/System.Reactive/Concurrency/ThreadPoolScheduler.cs +++ b/Rx.NET/Source/src/System.Reactive/Concurrency/ThreadPoolScheduler.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. -#if !LEGACY_WINRT && !NO_THREAD +#if !LEGACY_WINRT using System.Reactive.Disposables; using System.Threading; diff --git a/Rx.NET/Source/src/System.Reactive/ExcludeFromCodeCoverageAttribute.cs b/Rx.NET/Source/src/System.Reactive/ExcludeFromCodeCoverageAttribute.cs deleted file mode 100644 index 34573bdbde..0000000000 --- a/Rx.NET/Source/src/System.Reactive/ExcludeFromCodeCoverageAttribute.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT License. -// See the LICENSE file in the project root for more information. - -#if NO_CODE_COVERAGE_ATTRIBUTE - -namespace System.Diagnostics.CodeAnalysis -{ - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)] - internal sealed class ExcludeFromCodeCoverageAttribute : Attribute - { - } -} - -#endif diff --git a/Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs b/Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs index d0e365cf17..79f258f70c 100644 --- a/Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs +++ b/Rx.NET/Source/src/System.Reactive/Internal/CurrentPlatformEnlightenmentProvider.cs @@ -34,12 +34,10 @@ public class CurrentPlatformEnlightenmentProvider : IPlatformEnlightenmentProvid return (T)(object)new ExceptionServicesImpl(); } -#if !NO_THREAD || LEGACY_WINRT if (t == typeof(IConcurrencyAbstractionLayer)) { return (T)(object)new ConcurrencyAbstractionLayerImpl(); } -#endif if (t == typeof(IScheduler) && args != null) { diff --git a/Rx.NET/Source/src/System.Reactive/Internal/HalfSerializer.cs b/Rx.NET/Source/src/System.Reactive/Internal/HalfSerializer.cs index 281de44b9d..b18287834d 100644 --- a/Rx.NET/Source/src/System.Reactive/Internal/HalfSerializer.cs +++ b/Rx.NET/Source/src/System.Reactive/Internal/HalfSerializer.cs @@ -49,10 +49,8 @@ public static void ForwardOnNext(ISink sink, T item, ref int wip, ref Exce } } } -#if !NO_TRACE else if (error == null) Trace.TraceWarning("OnNext called while another OnNext call was in progress on the same Observer."); -#endif } /// diff --git a/Rx.NET/Source/src/System.Reactive/Internal/ReflectionUtils.cs b/Rx.NET/Source/src/System.Reactive/Internal/ReflectionUtils.cs index 38a200d30e..8d98f203ad 100644 --- a/Rx.NET/Source/src/System.Reactive/Internal/ReflectionUtils.cs +++ b/Rx.NET/Source/src/System.Reactive/Internal/ReflectionUtils.cs @@ -114,10 +114,6 @@ public static void GetEventMethods(Type targetType, object? } } -#if (CRIPPLED_REFLECTION && HAS_WINRT) - public static MethodInfo GetMethod(this Type type, string name) => type.GetTypeInfo().GetDeclaredMethod(name); -#endif - /// /// Determine whether a type represents a WinRT event registration token /// (https://learn.microsoft.com/en-us/uwp/api/windows.foundation.eventregistrationtoken). diff --git a/Rx.NET/Source/src/System.Reactive/Internal/Stubs.cs b/Rx.NET/Source/src/System.Reactive/Internal/Stubs.cs index 41abc78bf7..1048c80e7e 100644 --- a/Rx.NET/Source/src/System.Reactive/Internal/Stubs.cs +++ b/Rx.NET/Source/src/System.Reactive/Internal/Stubs.cs @@ -16,15 +16,9 @@ internal static class Stubs public static readonly Action Throw = static ex => { ex.Throw(); }; } -#if !NO_THREAD internal static class TimerStubs { -#if NETSTANDARD1_3 - public static readonly System.Threading.Timer Never = new System.Threading.Timer(static _ => { }, null, System.Threading.Timeout.Infinite, System.Threading.Timeout.Infinite); -#else public static readonly System.Threading.Timer Never = new System.Threading.Timer(static _ => { }); -#endif } -#endif } diff --git a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Generated.cs b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Generated.cs index 42bd839cd3..b9df3970a9 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Generated.cs +++ b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Generated.cs @@ -11,9 +11,7 @@ using System.Linq.Expressions; using System.Reactive.Concurrency; using System.Reactive.Subjects; -#if !CRIPPLED_REFLECTION using System.Reflection; -#endif using System.Threading; using System.Threading.Tasks; @@ -44,11 +42,7 @@ public static IQbservable Aggregate(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Aggregate(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, accumulator ) @@ -78,11 +72,7 @@ public static IQbservable Aggregate(this IQbs return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Aggregate(default(IQbservable), default(TAccumulate), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TAccumulate)), -#endif source.Expression, Expression.Constant(seed, typeof(TAccumulate)), accumulator @@ -117,11 +107,7 @@ public static IQbservable Aggregate(this return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Aggregate(default(IQbservable), default(TAccumulate), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TAccumulate), typeof(TResult)), -#endif source.Expression, Expression.Constant(seed, typeof(TAccumulate)), accumulator, @@ -150,11 +136,7 @@ public static IQbservable All(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.All(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -180,11 +162,7 @@ public static IQbservable Amb(this IQbservable first, return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Amb(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -210,11 +188,7 @@ public static IQbservable Amb(this IQbservableProvider provide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Amb(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -240,11 +214,7 @@ public static IQbservable Amb(this IQbservableProvider provide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Amb(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -268,11 +238,7 @@ public static IQbservable Any(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Any(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -298,11 +264,7 @@ public static IQbservable Any(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Any(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -326,11 +288,7 @@ public static IQbservable Append(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Append(default(IQbservable), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)) ) @@ -357,11 +315,7 @@ public static IQbservable Append(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Append(default(IQbservable), default(TSource), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -393,11 +347,7 @@ public static IQbservable AutoConnect(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.AutoConnect(default(IQbservableProvider), default(IConnectableObservable), default(int), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(minObservers, typeof(int)), @@ -424,11 +374,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -451,11 +397,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -479,11 +421,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -507,11 +445,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -535,11 +469,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -562,11 +492,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -590,11 +516,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -618,11 +540,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -645,11 +563,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -672,11 +586,7 @@ public static IQbservable Average(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -704,11 +614,7 @@ public static IQbservable Average(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -736,11 +642,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -768,11 +670,7 @@ public static IQbservable Average(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -801,11 +699,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -834,11 +728,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -867,11 +757,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -899,11 +785,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -931,11 +813,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -964,11 +842,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -997,11 +871,7 @@ public static IQbservable Average(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Average(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -1027,11 +897,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -1058,11 +924,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(int), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)), Expression.Constant(skip, typeof(int)) @@ -1094,11 +956,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)) ) @@ -1131,11 +989,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(count, typeof(int)) @@ -1172,11 +1026,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(count, typeof(int)), @@ -1212,11 +1062,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -1256,11 +1102,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(timeShift, typeof(TimeSpan)) @@ -1303,11 +1145,7 @@ public static IQbservable> Buffer(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(TimeSpan), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(timeShift, typeof(TimeSpan)), @@ -1336,11 +1174,7 @@ public static IQbservable> Buffer(this return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TBufferBoundary)), -#endif source.Expression, GetSourceExpression(bufferBoundaries) ) @@ -1367,11 +1201,7 @@ public static IQbservable> Buffer(this I return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TBufferClosing)), -#endif source.Expression, bufferClosingSelector ) @@ -1402,11 +1232,7 @@ public static IQbservable> Buffer>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Buffer(default(IQbservable), default(IObservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TBufferOpening), typeof(TBufferClosing)), -#endif source.Expression, GetSourceExpression(bufferOpenings), bufferClosingSelector @@ -1438,11 +1264,7 @@ public static IQbservable Case(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Case(default(IQbservableProvider), default(Expression>), default(IDictionary>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TValue), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), selector, Expression.Constant(sources, typeof(IDictionary>)) @@ -1477,11 +1299,7 @@ public static IQbservable Case(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Case(default(IQbservableProvider), default(Expression>), default(IDictionary>), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TValue), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), selector, Expression.Constant(sources, typeof(IDictionary>)), @@ -1517,11 +1335,7 @@ public static IQbservable Case(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Case(default(IQbservableProvider), default(Expression>), default(IDictionary>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TValue), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), selector, Expression.Constant(sources, typeof(IDictionary>)), @@ -1546,11 +1360,7 @@ public static IQbservable Cast(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Cast(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif source.Expression ) ); @@ -1575,11 +1385,7 @@ public static IQbservable Catch(this IQbservable firs return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Catch(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -1605,11 +1411,7 @@ public static IQbservable Catch(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Catch(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -1635,11 +1437,7 @@ public static IQbservable Catch(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Catch(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -1667,11 +1465,7 @@ public static IQbservable Catch(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Catch(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TException)), -#endif source.Expression, handler ) @@ -1695,11 +1489,7 @@ public static IQueryable> Chunkify(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Chunkify(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -1732,11 +1522,7 @@ public static IQueryable Collect(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Collect(default(IQbservable), default(Expression>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, getInitialCollector, merge, @@ -1769,11 +1555,7 @@ public static IQueryable Collect(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Collect(default(IQbservable), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, newCollector, merge @@ -1801,11 +1583,7 @@ public static IQbservable> CombineLatest(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -1832,11 +1610,7 @@ public static IQbservable> CombineLatest(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -1867,11 +1641,7 @@ public static IQbservable CombineLatest(this IQbserva return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservableProvider), default(IEnumerable>), default(Expression, TResult>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources), resultSelector @@ -1904,11 +1674,7 @@ public static IQbservable CombineLatest(th return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TResult)), -#endif first.Expression, GetSourceExpression(second), resultSelector @@ -1945,11 +1711,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -1991,11 +1753,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2042,11 +1800,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2098,11 +1852,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2159,11 +1909,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2225,11 +1971,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2296,11 +2038,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2372,11 +2110,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2453,11 +2187,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2539,11 +2269,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2630,11 +2356,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2726,11 +2448,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2827,11 +2545,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TSource15), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2933,11 +2647,7 @@ public static IQbservable CombineLatest( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TSource15), typeof(TSource16), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -2978,11 +2688,7 @@ public static IQbservable Concat(this IQbservable fir return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Concat(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -3008,11 +2714,7 @@ public static IQbservable Concat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Concat(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -3038,11 +2740,7 @@ public static IQbservable Concat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Concat(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -3065,11 +2763,7 @@ public static IQbservable Concat(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Concat(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -3092,11 +2786,7 @@ public static IQbservable Concat(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Concat(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -3120,11 +2810,7 @@ public static IQbservable Contains(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Contains(default(IQbservable), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)) ) @@ -3152,11 +2838,7 @@ public static IQbservable Contains(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Contains(default(IQbservable), default(TSource), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)), Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -3182,11 +2864,7 @@ public static IQbservable Count(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Count(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -3212,11 +2890,7 @@ public static IQbservable Count(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Count(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -3247,11 +2921,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, IDisposable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribe ) @@ -3282,11 +2952,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, Action>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribe ) @@ -3315,11 +2981,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, CancellationToken, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3346,11 +3008,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3379,11 +3037,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, CancellationToken, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3410,11 +3064,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3443,11 +3093,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, CancellationToken, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3474,11 +3120,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Create(default(IQbservableProvider), default(Expression, Task>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), subscribeAsync ) @@ -3501,11 +3143,7 @@ public static IQbservable Create(this IQbservableProvider prov return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DefaultIfEmpty(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -3528,11 +3166,7 @@ public static IQbservable DefaultIfEmpty(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DefaultIfEmpty(default(IQbservable), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(defaultValue, typeof(TSource)) ) @@ -3558,11 +3192,7 @@ public static IQbservable Defer(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Defer(default(IQbservableProvider), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), observableFactory ) @@ -3589,11 +3219,7 @@ public static IQbservable Defer(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Defer(default(IQbservableProvider), default(Expression>>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), observableFactoryAsync ) @@ -3625,11 +3251,7 @@ public static IQbservable Defer(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Defer(default(IQbservableProvider), default(Expression>>>), default(bool))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), observableFactoryAsync, Expression.Constant(ignoreExceptionsAfterUnsubscribe, typeof(bool)) @@ -3659,11 +3281,7 @@ public static IQbservable DeferAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DeferAsync(default(IQbservableProvider), default(Expression>>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), observableFactoryAsync ) @@ -3697,11 +3315,7 @@ public static IQbservable DeferAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DeferAsync(default(IQbservableProvider), default(Expression>>>), default(bool))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), observableFactoryAsync, Expression.Constant(ignoreExceptionsAfterUnsubscribe, typeof(bool)) @@ -3739,11 +3353,7 @@ public static IQbservable Delay(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(DateTimeOffset))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)) ) @@ -3783,11 +3393,7 @@ public static IQbservable Delay(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(DateTimeOffset), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -3827,11 +3433,7 @@ public static IQbservable Delay(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)) ) @@ -3876,11 +3478,7 @@ public static IQbservable Delay(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -3908,11 +3506,7 @@ public static IQbservable Delay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TDelay)), -#endif source.Expression, delayDurationSelector ) @@ -3942,11 +3536,7 @@ public static IQbservable Delay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Delay(default(IQbservable), default(IObservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TDelay)), -#endif source.Expression, GetSourceExpression(subscriptionDelay), delayDurationSelector @@ -3979,11 +3569,7 @@ public static IQbservable DelaySubscription(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DelaySubscription(default(IQbservable), default(DateTimeOffset))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)) ) @@ -4018,11 +3604,7 @@ public static IQbservable DelaySubscription(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DelaySubscription(default(IQbservable), default(DateTimeOffset), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -4057,11 +3639,7 @@ public static IQbservable DelaySubscription(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DelaySubscription(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)) ) @@ -4098,11 +3676,7 @@ public static IQbservable DelaySubscription(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DelaySubscription(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -4126,11 +3700,7 @@ public static IQbservable Dematerialize(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Dematerialize(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -4153,11 +3723,7 @@ public static IQbservable Distinct(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Distinct(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -4183,11 +3749,7 @@ public static IQbservable Distinct(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Distinct(default(IQbservable), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(comparer, typeof(IEqualityComparer)) ) @@ -4215,11 +3777,7 @@ public static IQbservable Distinct(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Distinct(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -4250,11 +3808,7 @@ public static IQbservable Distinct(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Distinct(default(IQbservable), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -4278,11 +3832,7 @@ public static IQbservable DistinctUntilChanged(this IQbservabl return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DistinctUntilChanged(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -4307,11 +3857,7 @@ public static IQbservable DistinctUntilChanged(this IQbservabl return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DistinctUntilChanged(default(IQbservable), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(comparer, typeof(IEqualityComparer)) ) @@ -4338,11 +3884,7 @@ public static IQbservable DistinctUntilChanged(this IQbs return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DistinctUntilChanged(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -4372,11 +3914,7 @@ public static IQbservable DistinctUntilChanged(this IQbs return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DistinctUntilChanged(default(IQbservable), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -4404,11 +3942,7 @@ public static IQbservable Do(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Do(default(IQbservable), default(IObserver))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(observer, typeof(IObserver)) ) @@ -4435,11 +3969,7 @@ public static IQbservable Do(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Do(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, onNext ) @@ -4469,11 +3999,7 @@ public static IQbservable Do(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Do(default(IQbservable), default(Expression>), default(Expression))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, onNext, onCompleted @@ -4504,11 +4030,7 @@ public static IQbservable Do(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Do(default(IQbservable), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, onNext, onError @@ -4542,11 +4064,7 @@ public static IQbservable Do(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Do(default(IQbservable), default(Expression>), default(Expression>), default(Expression))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, onNext, onError, @@ -4574,11 +4092,7 @@ public static IQbservable DoWhile(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.DoWhile(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, condition ) @@ -4605,11 +4119,7 @@ public static IQbservable ElementAt(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ElementAt(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(index, typeof(int)) ) @@ -4635,11 +4145,7 @@ public static IQbservable ElementAt(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ElementAtOrDefault(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(index, typeof(int)) ) @@ -4660,11 +4166,7 @@ public static IQbservable Empty(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Empty(default(IQbservableProvider))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)) ) ); @@ -4689,11 +4191,7 @@ public static IQbservable Empty(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Empty(default(IQbservableProvider), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(scheduler, typeof(IScheduler)) ) @@ -4720,11 +4218,7 @@ public static IQbservable Empty(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Empty(default(IQbservableProvider), default(IScheduler), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(scheduler, typeof(IScheduler)), Expression.Constant(witness, typeof(TResult)) @@ -4747,11 +4241,7 @@ public static IQbservable Empty(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Empty(default(IQbservableProvider), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(witness, typeof(TResult)) ) @@ -4777,11 +4267,7 @@ public static IQbservable Finally(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Finally(default(IQbservable), default(Expression))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, finallyAction ) @@ -4805,11 +4291,7 @@ public static IQbservable FirstAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FirstAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -4835,11 +4317,7 @@ public static IQbservable FirstAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FirstAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -4862,11 +4340,7 @@ public static IQbservable FirstAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FirstOrDefaultAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -4891,11 +4365,7 @@ public static IQbservable FirstAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FirstOrDefaultAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -4925,11 +4395,7 @@ public static IQbservable For(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.For(default(IQbservableProvider), default(IEnumerable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(source), resultSelector @@ -4955,11 +4421,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync ) @@ -4987,11 +4449,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>), default(TaskObservationOptions))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -5020,11 +4478,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -5052,11 +4506,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync ) @@ -5086,11 +4536,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>), default(TaskObservationOptions))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -5121,11 +4567,7 @@ public static IQbservable FromAsync(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -5152,11 +4594,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync ) @@ -5184,11 +4622,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync ) @@ -5217,11 +4651,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>), default(TaskObservationOptions))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -5253,11 +4683,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>), default(TaskObservationOptions))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -5287,11 +4713,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -5323,11 +4745,7 @@ public static IQbservable FromAsync(this IQbservableProvider p return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromAsync(default(IQbservableProvider), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -5377,11 +4795,7 @@ public static IQbservable FromEvent(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -5430,11 +4844,7 @@ public static IQbservable FromEvent(this IQbservableProvider provider, Exp return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -5487,11 +4897,7 @@ public static IQbservable FromEvent(this IQbs return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -5542,11 +4948,7 @@ public static IQbservable FromEvent(this IQbs return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -5602,11 +5004,7 @@ public static IQbservable FromEvent(this IQbs return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression, TDelegate>>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), conversion, addHandler, @@ -5661,11 +5059,7 @@ public static IQbservable FromEvent(this IQbs return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression, TDelegate>>), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), conversion, addHandler, @@ -5718,11 +5112,7 @@ public static IQbservable FromEvent(this IQbservableProv return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>>), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -5772,11 +5162,7 @@ public static IQbservable FromEvent(this IQbservableProv return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEvent(default(IQbservableProvider), default(Expression>>), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -5828,11 +5214,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -5882,11 +5264,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -5940,11 +5318,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)) @@ -5996,11 +5370,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)), @@ -6054,11 +5424,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)) @@ -6110,11 +5476,7 @@ public static IQbservable> FromEventPattern(this IQbservabl return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)), @@ -6168,11 +5530,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -6224,11 +5582,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -6285,11 +5639,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression, TDelegate>>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), conversion, addHandler, @@ -6345,11 +5695,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression, TDelegate>>), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), conversion, addHandler, @@ -6405,11 +5751,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -6462,11 +5804,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TDelegate), typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -6517,11 +5855,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>>), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler @@ -6570,11 +5904,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Expression>>), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), addHandler, removeHandler, @@ -6629,11 +5959,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)) @@ -6686,11 +6012,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)), @@ -6745,11 +6067,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)) @@ -6802,11 +6120,7 @@ public static IQbservable> FromEventPattern return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)), @@ -6862,11 +6176,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)) @@ -6920,11 +6230,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(object), default(string), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(target, typeof(object)), Expression.Constant(eventName, typeof(string)), @@ -6980,11 +6286,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)) @@ -7038,11 +6340,7 @@ public static IQbservable> FromEventPattern>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.FromEventPattern(default(IQbservableProvider), default(Type), default(string), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSender), typeof(TEventArgs)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(type, typeof(Type)), Expression.Constant(eventName, typeof(string)), @@ -7078,11 +6376,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7122,11 +6416,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7167,11 +6457,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7212,11 +6498,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7260,11 +6542,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7309,11 +6587,7 @@ public static IQbservable Generate(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Generate(default(IQbservableProvider), default(TState), default(Expression>), default(Expression>), default(Expression>), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TState), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(initialState, typeof(TState)), condition, @@ -7345,11 +6619,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -7379,11 +6649,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(capacity, typeof(int)) @@ -7417,11 +6683,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(int), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(capacity, typeof(int)), @@ -7453,11 +6715,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -7489,11 +6747,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector @@ -7528,11 +6782,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(Expression>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector, @@ -7571,11 +6821,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(Expression>), default(int), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector, @@ -7612,11 +6858,7 @@ public static IQbservable> GroupBy>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupBy(default(IQbservable), default(Expression>), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector, @@ -7654,11 +6896,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TDuration)), -#endif source.Expression, keySelector, durationSelector @@ -7698,11 +6936,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression, IObservable>>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TDuration)), -#endif source.Expression, keySelector, durationSelector, @@ -7746,11 +6980,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression, IObservable>>), default(int), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TDuration)), -#endif source.Expression, keySelector, durationSelector, @@ -7792,11 +7022,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression, IObservable>>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TDuration)), -#endif source.Expression, keySelector, durationSelector, @@ -7838,11 +7064,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression>), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement), typeof(TDuration)), -#endif source.Expression, keySelector, elementSelector, @@ -7887,11 +7109,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression>), default(Expression, IObservable>>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement), typeof(TDuration)), -#endif source.Expression, keySelector, elementSelector, @@ -7940,11 +7158,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression>), default(Expression, IObservable>>), default(int), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement), typeof(TDuration)), -#endif source.Expression, keySelector, elementSelector, @@ -7991,11 +7205,7 @@ public static IQbservable> GroupByUntil>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupByUntil(default(IQbservable), default(Expression>), default(Expression>), default(Expression, IObservable>>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement), typeof(TDuration)), -#endif source.Expression, keySelector, elementSelector, @@ -8037,11 +7247,7 @@ public static IQbservable GroupJoin( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.GroupJoin(default(IQbservable), default(IObservable), default(Expression>>), default(Expression>>), default(Expression, TResult>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TLeft), typeof(TRight), typeof(TLeftDuration), typeof(TRightDuration), typeof(TResult)), -#endif left.Expression, GetSourceExpression(right), leftDurationSelector, @@ -8074,11 +7280,7 @@ public static IQbservable If(this IQbservableProvider provider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.If(default(IQbservableProvider), default(Expression>), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), condition, GetSourceExpression(thenSource) @@ -8112,11 +7314,7 @@ public static IQbservable If(this IQbservableProvider provider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.If(default(IQbservableProvider), default(Expression>), default(IObservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), condition, GetSourceExpression(thenSource), @@ -8151,11 +7349,7 @@ public static IQbservable If(this IQbservableProvider provider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.If(default(IQbservableProvider), default(Expression>), default(IObservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), condition, GetSourceExpression(thenSource), @@ -8180,11 +7374,7 @@ public static IQbservable IgnoreElements(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.IgnoreElements(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8213,11 +7403,7 @@ public static IQbservable Interval(this IQbservableProvider provider, Time return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Interval(default(IQbservableProvider), default(TimeSpan))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(period, typeof(TimeSpan)) ) @@ -8252,11 +7438,7 @@ public static IQbservable Interval(this IQbservableProvider provider, Time return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Interval(default(IQbservableProvider), default(TimeSpan), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(period, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -8280,11 +7462,7 @@ public static IQbservable IsEmpty(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.IsEmpty(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8322,11 +7500,7 @@ public static IQbservable Join( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Join(default(IQbservable), default(IObservable), default(Expression>>), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TLeft), typeof(TRight), typeof(TLeftDuration), typeof(TRightDuration), typeof(TResult)), -#endif left.Expression, GetSourceExpression(right), leftDurationSelector, @@ -8353,11 +7527,7 @@ public static IQbservable LastAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LastAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8383,11 +7553,7 @@ public static IQbservable LastAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LastAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -8410,11 +7576,7 @@ public static IQbservable LastAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LastOrDefaultAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8439,11 +7601,7 @@ public static IQbservable LastAsync(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LastOrDefaultAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -8466,11 +7624,7 @@ public static IQueryable Latest(this IQbservable sour return ((IQueryProvider)source.Provider).CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Latest(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8494,11 +7648,7 @@ public static IQbservable LongCount(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LongCount(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8524,11 +7674,7 @@ public static IQbservable LongCount(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.LongCount(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -8551,11 +7697,7 @@ public static IQbservable> Materialize(this IQbse return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Materialize(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8577,11 +7719,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8603,11 +7741,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8629,11 +7763,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8655,11 +7785,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8681,11 +7807,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8707,11 +7829,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8733,11 +7851,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8759,11 +7873,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8785,11 +7895,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8811,11 +7917,7 @@ public static IQbservable Max(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -8838,11 +7940,7 @@ public static IQbservable Max(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -8868,11 +7966,7 @@ public static IQbservable Max(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(comparer, typeof(IComparer)) ) @@ -8899,11 +7993,7 @@ public static IQbservable Max(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -8930,11 +8020,7 @@ public static IQbservable Max(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -8961,11 +8047,7 @@ public static IQbservable Max(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -8992,11 +8074,7 @@ public static IQbservable Max(this IQbservable source, Ex return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9023,11 +8101,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9054,11 +8128,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9085,11 +8155,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9116,11 +8182,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9147,11 +8209,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9178,11 +8236,7 @@ public static IQbservable Max(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -9210,11 +8264,7 @@ public static IQbservable Max(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -9245,11 +8295,7 @@ public static IQbservable Max(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Max(default(IQbservable), default(Expression>), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(comparer, typeof(IComparer)) @@ -9278,11 +8324,7 @@ public static IQbservable> MaxBy(this IQbservable< return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.MaxBy(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -9313,11 +8355,7 @@ public static IQbservable> MaxBy(this IQbservable< return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.MaxBy(default(IQbservable), default(Expression>), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IComparer)) @@ -9344,11 +8382,7 @@ public static IQbservable Merge(this IQbservable firs return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -9377,11 +8411,7 @@ public static IQbservable Merge(this IQbservable firs return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservable), default(IObservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second), Expression.Constant(scheduler, typeof(IScheduler)) @@ -9411,11 +8441,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IScheduler), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(scheduler, typeof(IScheduler)), GetSourceExpression(sources) @@ -9439,11 +8465,7 @@ public static IQbservable Merge(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -9466,11 +8488,7 @@ public static IQbservable Merge(this IQbservable return sources.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -9495,11 +8513,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -9525,11 +8539,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -9555,11 +8565,7 @@ public static IQbservable Merge(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservable>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression, Expression.Constant(maxConcurrent, typeof(int)) ) @@ -9588,11 +8594,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IEnumerable>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources), Expression.Constant(maxConcurrent, typeof(int)) @@ -9625,11 +8627,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IEnumerable>), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources), Expression.Constant(maxConcurrent, typeof(int)), @@ -9660,11 +8658,7 @@ public static IQbservable Merge(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Merge(default(IQbservableProvider), default(IEnumerable>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources), Expression.Constant(scheduler, typeof(IScheduler)) @@ -9688,11 +8682,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9714,11 +8704,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9740,11 +8726,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9766,11 +8748,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9792,11 +8770,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9818,11 +8792,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9844,11 +8814,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9870,11 +8836,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9896,11 +8858,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9922,11 +8880,7 @@ public static IQbservable Min(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -9949,11 +8903,7 @@ public static IQbservable Min(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -9979,11 +8929,7 @@ public static IQbservable Min(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(comparer, typeof(IComparer)) ) @@ -10010,11 +8956,7 @@ public static IQbservable Min(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10041,11 +8983,7 @@ public static IQbservable Min(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10072,11 +9010,7 @@ public static IQbservable Min(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10103,11 +9037,7 @@ public static IQbservable Min(this IQbservable source, Ex return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10134,11 +9064,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10165,11 +9091,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10196,11 +9118,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10227,11 +9145,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10258,11 +9172,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10289,11 +9199,7 @@ public static IQbservable Min(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -10321,11 +9227,7 @@ public static IQbservable Min(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -10356,11 +9258,7 @@ public static IQbservable Min(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Min(default(IQbservable), default(Expression>), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(comparer, typeof(IComparer)) @@ -10389,11 +9287,7 @@ public static IQbservable> MinBy(this IQbservable< return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.MinBy(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -10424,11 +9318,7 @@ public static IQbservable> MinBy(this IQbservable< return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.MinBy(default(IQbservable), default(Expression>), default(IComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IComparer)) @@ -10455,11 +9345,7 @@ public static IQueryable MostRecent(this IQbservable return ((IQueryProvider)source.Provider).CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.MostRecent(default(IQbservable), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(initialValue, typeof(TSource)) ) @@ -10492,11 +9378,7 @@ public static IQbservable Multicast(th return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Multicast(default(IQbservable), default(Expression>>), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TIntermediate), typeof(TResult)), -#endif source.Expression, subjectSelector, selector @@ -10518,11 +9400,7 @@ public static IQbservable Never(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Never(default(IQbservableProvider))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)) ) ); @@ -10543,11 +9421,7 @@ public static IQbservable Never(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Never(default(IQbservableProvider), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(witness, typeof(TResult)) ) @@ -10572,11 +9446,7 @@ public static IQueryable Next(this IQbservable source return ((IQueryProvider)source.Provider).CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Next(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -10605,11 +9475,7 @@ public static IQbservable ObserveOn(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ObserveOn(default(IQbservable), default(SynchronizationContext))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(context, typeof(SynchronizationContext)) ) @@ -10639,11 +9505,7 @@ public static IQbservable ObserveOn(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ObserveOn(default(IQbservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)) ) @@ -10666,11 +9528,7 @@ public static IQbservable OfType(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.OfType(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif source.Expression ) ); @@ -10695,11 +9553,7 @@ public static IQbservable OnErrorResumeNext(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.OnErrorResumeNext(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -10725,11 +9579,7 @@ public static IQbservable OnErrorResumeNext(this IQbservablePr return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.OnErrorResumeNext(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -10755,11 +9605,7 @@ public static IQbservable OnErrorResumeNext(this IQbservablePr return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.OnErrorResumeNext(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -10783,11 +9629,7 @@ public static IQbservable Prepend(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Prepend(default(IQbservable), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)) ) @@ -10814,11 +9656,7 @@ public static IQbservable Prepend(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Prepend(default(IQbservable), default(TSource), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(value, typeof(TSource)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -10848,11 +9686,7 @@ public static IQbservable Publish(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Publish(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -10882,11 +9716,7 @@ public static IQbservable Publish(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Publish(default(IQbservable), default(Expression, IObservable>>), default(TSource))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(initialValue, typeof(TSource)) @@ -10916,11 +9746,7 @@ public static IQbservable PublishLast(this IQbservabl return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.PublishLast(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -10944,11 +9770,7 @@ public static IQbservable Range(this IQbservableProvider provider, int star return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Range(default(IQbservableProvider), default(int), default(int))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(start, typeof(int)), Expression.Constant(count, typeof(int)) @@ -10978,11 +9800,7 @@ public static IQbservable Range(this IQbservableProvider provider, int star return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Range(default(IQbservableProvider), default(int), default(int), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(start, typeof(int)), Expression.Constant(count, typeof(int)), @@ -11010,11 +9828,7 @@ public static IQbservable RefCount(this IQbservableProvider pr return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)) ) @@ -11041,11 +9855,7 @@ public static IQbservable RefCount(this IQbservableProvider pr return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(disconnectDelay, typeof(TimeSpan)) @@ -11076,11 +9886,7 @@ public static IQbservable RefCount(this IQbservableProvider pr return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(disconnectDelay, typeof(TimeSpan)), @@ -11106,17 +9912,11 @@ public static IQbservable RefCount(this IQbservableProvider pr throw new ArgumentNullException(nameof(provider)); if (source == null) throw new ArgumentNullException(nameof(source)); - if (minObservers <= 0) - throw new ArgumentOutOfRangeException(nameof(minObservers)); return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(minObservers, typeof(int)) @@ -11142,17 +9942,11 @@ public static IQbservable RefCount(this IQbservableProvider pr throw new ArgumentNullException(nameof(provider)); if (source == null) throw new ArgumentNullException(nameof(source)); - if (minObservers <= 0) - throw new ArgumentOutOfRangeException(nameof(minObservers)); return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable), default(int), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(minObservers, typeof(int)), @@ -11182,17 +9976,11 @@ public static IQbservable RefCount(this IQbservableProvider pr throw new ArgumentNullException(nameof(source)); if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); - if (minObservers <= 0) - throw new ArgumentOutOfRangeException(nameof(minObservers)); return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RefCount(default(IQbservableProvider), default(IConnectableObservable), default(int), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(source, typeof(IConnectableObservable)), Expression.Constant(minObservers, typeof(int)), @@ -11217,11 +10005,7 @@ public static IQbservable Repeat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservableProvider), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)) ) @@ -11246,11 +10030,7 @@ public static IQbservable Repeat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservableProvider), default(TResult), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)), Expression.Constant(repeatCount, typeof(int)) @@ -11281,11 +10061,7 @@ public static IQbservable Repeat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservableProvider), default(TResult), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)), Expression.Constant(repeatCount, typeof(int)), @@ -11314,11 +10090,7 @@ public static IQbservable Repeat(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservableProvider), default(TResult), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -11342,11 +10114,7 @@ public static IQbservable Repeat(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -11371,11 +10139,7 @@ public static IQbservable Repeat(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Repeat(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(repeatCount, typeof(int)) ) @@ -11406,11 +10170,7 @@ public static IQbservable RepeatWhen(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RepeatWhen(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TSignal)), -#endif source.Expression, handler ) @@ -11439,11 +10199,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -11475,11 +10231,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(bufferSize, typeof(int)) @@ -11515,11 +10267,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(bufferSize, typeof(int)), @@ -11556,11 +10304,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(int), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(bufferSize, typeof(int)), @@ -11600,11 +10344,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(int), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(bufferSize, typeof(int)), @@ -11639,11 +10379,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(scheduler, typeof(IScheduler)) @@ -11676,11 +10412,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(window, typeof(TimeSpan)) @@ -11716,11 +10448,7 @@ public static IQbservable Replay(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Replay(default(IQbservable), default(Expression, IObservable>>), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(window, typeof(TimeSpan)), @@ -11745,11 +10473,7 @@ public static IQbservable Retry(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Retry(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -11774,11 +10498,7 @@ public static IQbservable Retry(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Retry(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(retryCount, typeof(int)) ) @@ -11811,11 +10531,7 @@ public static IQbservable RetryWhen(this IQbservable< return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.RetryWhen(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TSignal)), -#endif source.Expression, handler ) @@ -11837,11 +10553,7 @@ public static IQbservable Return(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Return(default(IQbservableProvider), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)) ) @@ -11868,11 +10580,7 @@ public static IQbservable Return(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Return(default(IQbservableProvider), default(TResult), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(value, typeof(TResult)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -11904,11 +10612,7 @@ public static IQbservable Sample(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sample(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(interval, typeof(TimeSpan)) ) @@ -11942,11 +10646,7 @@ public static IQbservable Sample(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sample(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(interval, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -11975,11 +10675,7 @@ public static IQbservable Sample(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sample(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TSample)), -#endif source.Expression, GetSourceExpression(sampler) ) @@ -12006,11 +10702,7 @@ public static IQbservable Scan(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Scan(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, accumulator ) @@ -12039,11 +10731,7 @@ public static IQbservable Scan(this IQbservab return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Scan(default(IQbservable), default(TAccumulate), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TAccumulate)), -#endif source.Expression, Expression.Constant(seed, typeof(TAccumulate)), accumulator @@ -12071,11 +10759,7 @@ public static IQbservable Select(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Select(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12102,11 +10786,7 @@ public static IQbservable Select(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Select(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12137,11 +10817,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TCollection), typeof(TResult)), -#endif source.Expression, collectionSelector, resultSelector @@ -12173,11 +10849,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TCollection), typeof(TResult)), -#endif source.Expression, collectionSelector, resultSelector @@ -12210,11 +10882,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TCollection), typeof(TResult)), -#endif source.Expression, collectionSelector, resultSelector @@ -12247,11 +10915,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TCollection), typeof(TResult)), -#endif source.Expression, collectionSelector, resultSelector @@ -12279,11 +10943,7 @@ public static IQbservable SelectMany(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TOther)), -#endif source.Expression, GetSourceExpression(other) ) @@ -12316,11 +10976,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>>), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, onNext, onError, @@ -12355,11 +11011,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>>), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, onNext, onError, @@ -12388,11 +11040,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12419,11 +11067,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12451,11 +11095,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12483,11 +11123,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12515,11 +11151,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12547,11 +11179,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12579,11 +11207,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12611,11 +11235,7 @@ public static IQbservable SelectMany(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -12647,11 +11267,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTaskResult), typeof(TResult)), -#endif source.Expression, taskSelector, resultSelector @@ -12684,11 +11300,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTaskResult), typeof(TResult)), -#endif source.Expression, taskSelector, resultSelector @@ -12721,11 +11333,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTaskResult), typeof(TResult)), -#endif source.Expression, taskSelector, resultSelector @@ -12758,11 +11366,7 @@ public static IQbservable SelectMany(thi return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SelectMany(default(IQbservable), default(Expression>>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTaskResult), typeof(TResult)), -#endif source.Expression, taskSelector, resultSelector @@ -12790,11 +11394,7 @@ public static IQbservable SequenceEqual(this IQbservable return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SequenceEqual(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -12821,11 +11421,7 @@ public static IQbservable SequenceEqual(this IQbservable return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SequenceEqual(default(IQbservable), default(IEnumerable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second) ) @@ -12855,11 +11451,7 @@ public static IQbservable SequenceEqual(this IQbservable return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SequenceEqual(default(IQbservable), default(IObservable), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second), Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -12890,11 +11482,7 @@ public static IQbservable SequenceEqual(this IQbservable return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SequenceEqual(default(IQbservable), default(IEnumerable), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif first.Expression, GetSourceExpression(second), Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -12919,11 +11507,7 @@ public static IQbservable SingleAsync(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SingleAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -12949,11 +11533,7 @@ public static IQbservable SingleAsync(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SingleAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -12977,11 +11557,7 @@ public static IQbservable SingleAsync(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SingleOrDefaultAsync(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -13007,11 +11583,7 @@ public static IQbservable SingleOrDefaultAsync(this IQbservabl return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SingleOrDefaultAsync(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -13037,11 +11609,7 @@ public static IQbservable Skip(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Skip(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -13077,11 +11645,7 @@ public static IQbservable Skip(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Skip(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)) ) @@ -13120,11 +11684,7 @@ public static IQbservable Skip(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Skip(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -13155,11 +11715,7 @@ public static IQbservable SkipLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipLast(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -13190,11 +11746,7 @@ public static IQbservable SkipLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipLast(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)) ) @@ -13228,11 +11780,7 @@ public static IQbservable SkipLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipLast(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -13260,11 +11808,7 @@ public static IQbservable SkipUntil(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipUntil(default(IQbservable), default(DateTimeOffset))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(startTime, typeof(DateTimeOffset)) ) @@ -13294,11 +11838,7 @@ public static IQbservable SkipUntil(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipUntil(default(IQbservable), default(DateTimeOffset), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(startTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -13328,11 +11868,7 @@ public static IQbservable SkipUntil(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipUntil(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TOther)), -#endif source.Expression, GetSourceExpression(other) ) @@ -13358,11 +11894,7 @@ public static IQbservable SkipWhile(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipWhile(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -13389,11 +11921,7 @@ public static IQbservable SkipWhile(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SkipWhile(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -13428,11 +11956,7 @@ public static IQbservable Start(this IQbservableProvider provider, Express return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Start(default(IQbservableProvider), default(Expression))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), action ) @@ -13470,11 +11994,7 @@ public static IQbservable Start(this IQbservableProvider provider, Express return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Start(default(IQbservableProvider), default(Expression), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), action, Expression.Constant(scheduler, typeof(IScheduler)) @@ -13511,11 +12031,7 @@ public static IQbservable Start(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Start(default(IQbservableProvider), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), function ) @@ -13554,11 +12070,7 @@ public static IQbservable Start(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Start(default(IQbservableProvider), default(Expression>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), function, Expression.Constant(scheduler, typeof(IScheduler)) @@ -13594,11 +12106,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync ) @@ -13636,11 +12144,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>), default(TaskObservationOptions))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -13679,11 +12183,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -13729,11 +12229,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync ) @@ -13781,11 +12277,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>), default(TaskObservationOptions))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -13834,11 +12326,7 @@ public static IQbservable StartAsync(this IQbservableProvider provider, Ex return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), actionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -13875,11 +12363,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync ) @@ -13925,11 +12409,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync ) @@ -13978,11 +12458,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>), default(TaskObservationOptions))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -14022,11 +12498,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>), default(TaskObservationOptions))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(options, typeof(TaskObservationOptions)) @@ -14076,11 +12548,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -14120,11 +12588,7 @@ public static IQbservable StartAsync(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartAsync(default(IQbservableProvider), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), functionAsync, Expression.Constant(scheduler, typeof(IScheduler)) @@ -14154,11 +12618,7 @@ public static IQbservable StartWith(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartWith(default(IQbservable), default(IScheduler), default(TSource[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)), Expression.Constant(values, typeof(TSource[])) @@ -14188,11 +12648,7 @@ public static IQbservable StartWith(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartWith(default(IQbservable), default(IScheduler), default(IEnumerable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)), GetSourceExpression(values) @@ -14219,11 +12675,7 @@ public static IQbservable StartWith(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartWith(default(IQbservable), default(TSource[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(values, typeof(TSource[])) ) @@ -14249,11 +12701,7 @@ public static IQbservable StartWith(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.StartWith(default(IQbservable), default(IEnumerable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, GetSourceExpression(values) ) @@ -14284,11 +12732,7 @@ public static IQbservable SubscribeOn(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SubscribeOn(default(IQbservable), default(SynchronizationContext))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(context, typeof(SynchronizationContext)) ) @@ -14319,11 +12763,7 @@ public static IQbservable SubscribeOn(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.SubscribeOn(default(IQbservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)) ) @@ -14347,11 +12787,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14373,11 +12809,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14400,11 +12832,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14427,11 +12855,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14454,11 +12878,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14480,11 +12900,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14507,11 +12923,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14534,11 +12946,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14560,11 +12968,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14586,11 +12990,7 @@ public static IQbservable Sum(this IQbservable source) return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif source.Expression ) ); @@ -14616,11 +13016,7 @@ public static IQbservable Sum(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14647,11 +13043,7 @@ public static IQbservable Sum(this IQbservable source, return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14679,11 +13071,7 @@ public static IQbservable Sum(this IQbservable source return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14711,11 +13099,7 @@ public static IQbservable Sum(this IQbservable source, Ex return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14743,11 +13127,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14774,11 +13154,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14805,11 +13181,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14837,11 +13209,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14869,11 +13237,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14901,11 +13265,7 @@ public static IQbservable Sum(this IQbservable source, E return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Sum(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -14931,11 +13291,7 @@ public static IQbservable Switch(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Switch(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -14960,11 +13316,7 @@ public static IQbservable Switch(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Switch(default(IQbservable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif sources.Expression ) ); @@ -14991,11 +13343,7 @@ public static IQbservable Synchronize(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Synchronize(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -15021,11 +13369,7 @@ public static IQbservable Synchronize(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Synchronize(default(IQbservable), default(object))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(gate, typeof(object)) ) @@ -15051,11 +13395,7 @@ public static IQbservable Take(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Take(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -15084,11 +13424,7 @@ public static IQbservable Take(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Take(default(IQbservable), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15120,11 +13456,7 @@ public static IQbservable Take(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Take(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)) ) @@ -15158,11 +13490,7 @@ public static IQbservable Take(this IQbservable sourc return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Take(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15193,11 +13521,7 @@ public static IQbservable TakeLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLast(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -15230,11 +13554,7 @@ public static IQbservable TakeLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLast(default(IQbservable), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15266,11 +13586,7 @@ public static IQbservable TakeLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLast(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)) ) @@ -15304,11 +13620,7 @@ public static IQbservable TakeLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLast(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15346,11 +13658,7 @@ public static IQbservable TakeLast(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLast(default(IQbservable), default(TimeSpan), default(IScheduler), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(timerScheduler, typeof(IScheduler)), @@ -15382,11 +13690,7 @@ public static IQbservable> TakeLastBuffer(this IQbservab return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLastBuffer(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -15416,11 +13720,7 @@ public static IQbservable> TakeLastBuffer(this IQbservab return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLastBuffer(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)) ) @@ -15453,11 +13753,7 @@ public static IQbservable> TakeLastBuffer(this IQbservab return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeLastBuffer(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(duration, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15482,11 +13778,7 @@ public static IQbservable TakeUntil(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeUntil(default(IQbservable), default(DateTimeOffset))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(endTime, typeof(DateTimeOffset)) ) @@ -15513,11 +13805,7 @@ public static IQbservable TakeUntil(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeUntil(default(IQbservable), default(DateTimeOffset), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(endTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15545,11 +13833,7 @@ public static IQbservable TakeUntil(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeUntil(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TOther)), -#endif source.Expression, GetSourceExpression(other) ) @@ -15585,11 +13869,7 @@ public static IQbservable TakeUntil(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeUntil(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, stopPredicate ) @@ -15615,11 +13895,7 @@ public static IQbservable TakeWhile(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeWhile(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -15646,11 +13922,7 @@ public static IQbservable TakeWhile(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TakeWhile(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -15691,11 +13963,7 @@ public static IQbservable Throttle(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throttle(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)) ) @@ -15739,11 +14007,7 @@ public static IQbservable Throttle(this IQbservable s return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throttle(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15778,11 +14042,7 @@ public static IQbservable Throttle(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throttle(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TThrottle)), -#endif source.Expression, throttleDurationSelector ) @@ -15808,11 +14068,7 @@ public static IQbservable Throw(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throw(default(IQbservableProvider), default(Exception))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(exception, typeof(Exception)) ) @@ -15841,11 +14097,7 @@ public static IQbservable Throw(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throw(default(IQbservableProvider), default(Exception), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(exception, typeof(Exception)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -15876,11 +14128,7 @@ public static IQbservable Throw(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throw(default(IQbservableProvider), default(Exception), default(IScheduler), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(exception, typeof(Exception)), Expression.Constant(scheduler, typeof(IScheduler)), @@ -15909,11 +14157,7 @@ public static IQbservable Throw(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Throw(default(IQbservableProvider), default(Exception), default(TResult))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(exception, typeof(Exception)), Expression.Constant(witness, typeof(TResult)) @@ -15937,11 +14181,7 @@ public static IQbservable> TimeInterval(this IQbs return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TimeInterval(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -15966,11 +14206,7 @@ public static IQbservable> TimeInterval(this IQbs return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.TimeInterval(default(IQbservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)) ) @@ -16001,11 +14237,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(DateTimeOffset))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)) ) @@ -16038,11 +14270,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(DateTimeOffset), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)), GetSourceExpression(other) @@ -16079,11 +14307,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(DateTimeOffset), default(IObservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)), GetSourceExpression(other), @@ -16119,11 +14343,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(DateTimeOffset), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -16165,11 +14385,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)) ) @@ -16212,11 +14428,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(TimeSpan), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), GetSourceExpression(other) @@ -16263,11 +14475,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(TimeSpan), default(IObservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), GetSourceExpression(other), @@ -16313,11 +14521,7 @@ public static IQbservable Timeout(this IQbservable so return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -16349,11 +14553,7 @@ public static IQbservable Timeout(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(IObservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTimeout)), -#endif source.Expression, GetSourceExpression(firstTimeout), timeoutDurationSelector @@ -16388,11 +14588,7 @@ public static IQbservable Timeout(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(IObservable), default(Expression>>), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTimeout)), -#endif source.Expression, GetSourceExpression(firstTimeout), timeoutDurationSelector, @@ -16422,11 +14618,7 @@ public static IQbservable Timeout(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTimeout)), -#endif source.Expression, timeoutDurationSelector ) @@ -16457,11 +14649,7 @@ public static IQbservable Timeout(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timeout(default(IQbservable), default(Expression>>), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TTimeout)), -#endif source.Expression, timeoutDurationSelector, GetSourceExpression(other) @@ -16483,11 +14671,7 @@ public static IQbservable Timer(this IQbservableProvider provider, DateTim return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(DateTimeOffset))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(DateTimeOffset)) ) @@ -16511,11 +14695,7 @@ public static IQbservable Timer(this IQbservableProvider provider, DateTim return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(DateTimeOffset), default(TimeSpan))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(period, typeof(TimeSpan)) @@ -16545,11 +14725,7 @@ public static IQbservable Timer(this IQbservableProvider provider, DateTim return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(DateTimeOffset), default(TimeSpan), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(period, typeof(TimeSpan)), @@ -16577,11 +14753,7 @@ public static IQbservable Timer(this IQbservableProvider provider, DateTim return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(DateTimeOffset), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(DateTimeOffset)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -16603,11 +14775,7 @@ public static IQbservable Timer(this IQbservableProvider provider, TimeSpa return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(TimeSpan))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(TimeSpan)) ) @@ -16631,11 +14799,7 @@ public static IQbservable Timer(this IQbservableProvider provider, TimeSpa return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(TimeSpan), default(TimeSpan))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(period, typeof(TimeSpan)) @@ -16665,11 +14829,7 @@ public static IQbservable Timer(this IQbservableProvider provider, TimeSpa return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(TimeSpan), default(TimeSpan), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(period, typeof(TimeSpan)), @@ -16697,11 +14857,7 @@ public static IQbservable Timer(this IQbservableProvider provider, TimeSpa return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timer(default(IQbservableProvider), default(TimeSpan), default(IScheduler))), -#else (MethodInfo)MethodInfo.GetCurrentMethod()!, -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(dueTime, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -16725,11 +14881,7 @@ public static IQbservable> Timestamp(this IQbserva return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timestamp(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -16754,11 +14906,7 @@ public static IQbservable> Timestamp(this IQbserva return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Timestamp(default(IQbservable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(scheduler, typeof(IScheduler)) ) @@ -16782,11 +14930,7 @@ public static IQbservable ToArray(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToArray(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -16814,11 +14958,7 @@ public static IQbservable> ToDictionary>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToDictionary(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -16850,11 +14990,7 @@ public static IQbservable> ToDictionary>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToDictionary(default(IQbservable), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -16888,11 +15024,7 @@ public static IQbservable> ToDictionary>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToDictionary(default(IQbservable), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector @@ -16929,11 +15061,7 @@ public static IQbservable> ToDictionary>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToDictionary(default(IQbservable), default(Expression>), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector, @@ -16959,11 +15087,7 @@ public static IQueryable ToQueryable(this IQbservable return ((IQueryProvider)source.Provider).CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToQueryable(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -16986,11 +15110,7 @@ public static IQbservable> ToList(this IQbservable>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToList(default(IQbservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression ) ); @@ -17017,11 +15137,7 @@ public static IQbservable> ToLookup(this I return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToLookup(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector ) @@ -17052,11 +15168,7 @@ public static IQbservable> ToLookup(this I return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToLookup(default(IQbservable), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey)), -#endif source.Expression, keySelector, Expression.Constant(comparer, typeof(IEqualityComparer)) @@ -17089,11 +15201,7 @@ public static IQbservable> ToLookup>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToLookup(default(IQbservable), default(Expression>), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector @@ -17129,11 +15237,7 @@ public static IQbservable> ToLookup>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToLookup(default(IQbservable), default(Expression>), default(Expression>), default(IEqualityComparer))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TKey), typeof(TElement)), -#endif source.Expression, keySelector, elementSelector, @@ -17161,11 +15265,7 @@ public static IQbservable ToObservable(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToObservable(default(IQbservableProvider), default(IEnumerable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(source) ) @@ -17194,11 +15294,7 @@ public static IQbservable ToObservable(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.ToObservable(default(IQbservableProvider), default(IEnumerable), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(source), Expression.Constant(scheduler, typeof(IScheduler)) @@ -17230,11 +15326,7 @@ public static IQbservable Using(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Using(default(IQbservableProvider), default(Expression>), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult), typeof(TResource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), resourceFactory, observableFactory @@ -17269,11 +15361,7 @@ public static IQbservable Using(this IQbservablePro return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Using(default(IQbservableProvider), default(Expression>>), default(Expression>>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult), typeof(TResource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), resourceFactoryAsync, observableFactoryAsync @@ -17300,11 +15388,7 @@ public static IQbservable Where(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Where(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -17330,11 +15414,7 @@ public static IQbservable Where(this IQbservable sour return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Where(default(IQbservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, predicate ) @@ -17363,11 +15443,7 @@ public static IQbservable While(this IQbservableProvider provi return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.While(default(IQbservableProvider), default(Expression>), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), condition, GetSourceExpression(source) @@ -17394,11 +15470,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)) ) @@ -17425,11 +15497,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(int), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(count, typeof(int)), Expression.Constant(skip, typeof(int)) @@ -17461,11 +15529,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)) ) @@ -17498,11 +15562,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan), default(int))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(count, typeof(int)) @@ -17539,11 +15599,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan), default(int), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(count, typeof(int)), @@ -17579,11 +15635,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(scheduler, typeof(IScheduler)) @@ -17623,11 +15675,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan), default(TimeSpan))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(timeShift, typeof(TimeSpan)) @@ -17670,11 +15718,7 @@ public static IQbservable> Window(this IQbservable return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(TimeSpan), default(TimeSpan), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, Expression.Constant(timeSpan, typeof(TimeSpan)), Expression.Constant(timeShift, typeof(TimeSpan)), @@ -17703,11 +15747,7 @@ public static IQbservable> Window return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TWindowBoundary)), -#endif source.Expression, GetSourceExpression(windowBoundaries) ) @@ -17734,11 +15774,7 @@ public static IQbservable> Window( return source.Provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TWindowClosing)), -#endif source.Expression, windowClosingSelector ) @@ -17769,11 +15805,7 @@ public static IQbservable> Window>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Window(default(IQbservable), default(IObservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TWindowOpening), typeof(TWindowClosing)), -#endif source.Expression, GetSourceExpression(windowOpenings), windowClosingSelector @@ -17807,11 +15839,7 @@ public static IQbservable WithLatestFrom(this return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.WithLatestFrom(default(IQbservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TResult)), -#endif first.Expression, GetSourceExpression(second), resultSelector @@ -17838,11 +15866,7 @@ public static IQbservable> Zip(this IQbservableProvider return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -17868,11 +15892,7 @@ public static IQbservable> Zip(this IQbservableProvider return provider.CreateQuery>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -17902,11 +15922,7 @@ public static IQbservable Zip(this IQbservableProvide return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservableProvider), default(IEnumerable>), default(Expression, TResult>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources), resultSelector @@ -17938,11 +15954,7 @@ public static IQbservable Zip(this IQbserv return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TResult)), -#endif first.Expression, GetSourceExpression(second), resultSelector @@ -17974,11 +15986,7 @@ public static IQbservable Zip(this IQbserv return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IEnumerable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TResult)), -#endif first.Expression, GetSourceExpression(second), resultSelector @@ -18014,11 +16022,7 @@ public static IQbservable Zip(th return source1.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18059,11 +16063,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18109,11 +16109,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18164,11 +16160,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18224,11 +16216,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18289,11 +16277,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18359,11 +16343,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18434,11 +16414,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18514,11 +16490,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18599,11 +16571,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18689,11 +16657,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18784,11 +16748,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18884,11 +16844,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TSource15), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -18989,11 +16945,7 @@ public static IQbservable Zip( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TSource3), typeof(TSource4), typeof(TSource5), typeof(TSource6), typeof(TSource7), typeof(TSource8), typeof(TSource9), typeof(TSource10), typeof(TSource11), typeof(TSource12), typeof(TSource13), typeof(TSource14), typeof(TSource15), typeof(TSource16), typeof(TResult)), -#endif source1.Expression, GetSourceExpression(source2), GetSourceExpression(source3), @@ -19030,11 +16982,7 @@ public static Func> ToAsync(this IQbservableProvider provider, if (action == null) throw new ArgumentNullException(nameof(action)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression))); -#else var m = (MethodInfo)MethodInfo.GetCurrentMethod()!; -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19065,11 +17013,7 @@ public static Func> ToAsync(this IQbservableProvider provider, if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression), default(IScheduler))); -#else var m = (MethodInfo)MethodInfo.GetCurrentMethod()!; -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19099,11 +17043,7 @@ public static Func> ToAsync(this IQbservableProv if (action == null) throw new ArgumentNullException(nameof(action)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19136,11 +17076,7 @@ public static Func> ToAsync(this IQbservableProv if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19172,11 +17108,7 @@ public static Func> ToAsync(this I if (action == null) throw new ArgumentNullException(nameof(action)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19211,11 +17143,7 @@ public static Func> ToAsync(this I if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19249,11 +17177,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19290,11 +17214,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19330,11 +17250,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19373,11 +17289,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19415,11 +17327,7 @@ public static Func> ToAsync if (action == null) throw new ArgumentNullException(nameof(action)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19460,11 +17368,7 @@ public static Func> ToAsync if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19504,11 +17408,7 @@ public static Func> if (action == null) throw new ArgumentNullException(nameof(action)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19551,11 +17451,7 @@ public static Func> if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19597,11 +17493,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19646,11 +17538,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19694,11 +17582,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19745,11 +17629,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19795,11 +17675,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19848,11 +17724,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19900,11 +17772,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -19955,11 +17823,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20009,11 +17873,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20066,11 +17926,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20122,11 +17978,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20181,11 +18033,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20239,11 +18087,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20300,11 +18144,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20360,11 +18200,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20423,11 +18259,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20485,11 +18317,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20550,11 +18378,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20614,11 +18438,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TArg16)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20681,11 +18501,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TArg16)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20731,11 +18547,7 @@ public static Func> ToAsync(this IQbservableProvid if (function == null) throw new ArgumentNullException(nameof(function)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)); -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20767,11 +18579,7 @@ public static Func> ToAsync(this IQbservableProvid if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)); -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20802,11 +18610,7 @@ public static Func> ToAsync(this IQb if (function == null) throw new ArgumentNullException(nameof(function)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TResult)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20840,11 +18644,7 @@ public static Func> ToAsync(this IQb if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TResult)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20877,11 +18677,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TResult)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20917,11 +18713,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TResult)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20956,11 +18748,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TResult)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -20998,11 +18786,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TResult)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21039,11 +18823,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TResult)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21083,11 +18863,7 @@ public static Func> ToAsync Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TResult)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21126,11 +18902,7 @@ public static Func> ToAs if (function == null) throw new ArgumentNullException(nameof(function)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21172,11 +18944,7 @@ public static Func> ToAs if (scheduler == null) throw new ArgumentNullException(nameof(scheduler)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21217,11 +18985,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21265,11 +19029,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21312,11 +19072,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21362,11 +19118,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21411,11 +19163,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21463,11 +19211,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21514,11 +19258,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21568,11 +19308,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21621,11 +19357,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21677,11 +19409,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21732,11 +19460,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21790,11 +19514,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21847,11 +19567,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21907,11 +19623,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -21966,11 +19678,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22028,11 +19736,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22089,11 +19793,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22153,11 +19853,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22216,11 +19912,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22282,11 +19974,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22347,11 +20035,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TArg16), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22415,11 +20099,7 @@ public static Func Qbservable.ToAsync(default(IQbservableProvider), default(Expression>), default(IScheduler))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TArg15), typeof(TArg16), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22472,11 +20152,7 @@ public static Func> FromAsyncPattern(this IQbservableProvider if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = (MethodInfo)MethodInfo.GetCurrentMethod()!; -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22513,11 +20189,7 @@ public static Func> FromAsyncPattern(this IQbser if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22556,11 +20228,7 @@ public static Func> FromAsyncPattern Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22601,11 +20269,7 @@ public static Func> FromAsyncPattern Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22648,11 +20312,7 @@ public static Func> FromAsyncPatte if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22697,11 +20357,7 @@ public static Func> FromAsy if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22748,11 +20404,7 @@ public static Func> if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22801,11 +20453,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22856,11 +20504,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22913,11 +20557,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -22972,11 +20612,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23033,11 +20669,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23096,11 +20728,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23161,11 +20789,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23228,11 +20852,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23283,11 +20903,7 @@ public static Func> FromAsyncPattern(this IQbserva if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)); -#endif return () => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23325,11 +20941,7 @@ public static Func> FromAsyncPattern if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TResult)); -#endif return (t1) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23369,11 +20981,7 @@ public static Func> FromAsyncPattern Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TResult)); -#endif return (t1, t2) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23415,11 +21023,7 @@ public static Func> FromAsyncPattern Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TResult)); -#endif return (t1, t2, t3) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23463,11 +21067,7 @@ public static Func> FromAsyncPa if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TResult)); -#endif return (t1, t2, t3, t4) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23513,11 +21113,7 @@ public static Func> From if (end == null) throw new ArgumentNullException(nameof(end)); -#if CRIPPLED_REFLECTION - var m = InfoOf(() => Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23565,11 +21161,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23619,11 +21211,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23675,11 +21263,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23733,11 +21317,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23793,11 +21373,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23855,11 +21431,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23919,11 +21491,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -23985,11 +21553,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => provider.CreateQuery( Expression.Invoke( Expression.Call( @@ -24053,11 +21617,7 @@ public static Func Qbservable.FromAsyncPattern(default(IQbservableProvider), default(Expression>), default(Expression>))); -#else var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TArg1), typeof(TArg2), typeof(TArg3), typeof(TArg4), typeof(TArg5), typeof(TArg6), typeof(TArg7), typeof(TArg8), typeof(TArg9), typeof(TArg10), typeof(TArg11), typeof(TArg12), typeof(TArg13), typeof(TArg14), typeof(TResult)); -#endif return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => provider.CreateQuery( Expression.Invoke( Expression.Call( diff --git a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Joins.cs b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Joins.cs index f8af610ecb..0096e3e63c 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Joins.cs +++ b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.Joins.cs @@ -8,9 +8,7 @@ using System.Linq; using System.Linq.Expressions; using System.Reactive.Joins; -#if !CRIPPLED_REFLECTION using System.Reflection; -#endif namespace System.Reactive.Linq { @@ -42,13 +40,9 @@ public static QueryablePattern And(this IQbservabl return new QueryablePattern( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => And(default, default)), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TLeft), typeof(TRight)), #pragma warning restore IL2060 -#endif left.Expression, GetSourceExpression(right) ) @@ -79,13 +73,9 @@ public static QueryablePlan Then(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Then(default, default)), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource), typeof(TResult)), #pragma warning restore IL2060 -#endif source.Expression, selector ) @@ -115,13 +105,9 @@ public static IQbservable When(this IQbservableProvider provid return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => When(default, default)), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), #pragma warning restore IL2060 -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.NewArrayInit( typeof(QueryablePlan), @@ -154,13 +140,9 @@ public static IQbservable When(this IQbservableProvider provid return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => When(default, default(IEnumerable>))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TResult)), #pragma warning restore IL2060 -#endif Expression.Constant(provider, typeof(IQbservableProvider)), Expression.Constant(plans, typeof(IEnumerable>)) ) diff --git a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.cs b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.cs index 78c29b81c2..3baf104002 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.cs +++ b/Rx.NET/Source/src/System.Reactive/Linq/Qbservable.cs @@ -53,13 +53,9 @@ public static IQbservable ToQbservable(this IQueryable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => ToQbservable(default)), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), #pragma warning restore IL2060 -#endif source.Expression ) ); @@ -89,13 +85,9 @@ public static IQbservable ToQbservable(this IQueryable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => ToQbservable(default)), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()!).MakeGenericMethod(typeof(TSource)), #pragma warning restore IL2060 -#endif source.Expression, Expression.Constant(scheduler) ) diff --git a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.Generated.cs b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.Generated.cs index 73842189d1..7696de1fc6 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.Generated.cs +++ b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.Generated.cs @@ -8,9 +8,7 @@ using System.Collections.Generic; using System.Linq.Expressions; using System.Reactive.Concurrency; -#if !CRIPPLED_REFLECTION using System.Reflection; -#endif namespace System.Reactive.Linq { @@ -36,11 +34,7 @@ public static IQbservable Create(this IQbservableProvider provider, Expres return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Create(default(IQbservableProvider), default(Expression>>>))), -#else (MethodInfo)MethodInfo.GetCurrentMethod(), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), iteratorMethod ) @@ -69,11 +63,7 @@ public static IQbservable Create(this IQbservableProvider prov return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Create(default(IQbservableProvider), default(Expression, IEnumerable>>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TResult)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), iteratorMethod ) @@ -102,11 +92,7 @@ public static IQbservable Expand(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Expand(default(IQbservable), default(Expression>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector ) @@ -138,11 +124,7 @@ public static IQbservable Expand(this IQbservable sou return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Expand(default(IQbservable), default(Expression>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), -#endif source.Expression, selector, Expression.Constant(scheduler, typeof(IScheduler)) @@ -172,11 +154,7 @@ public static IQbservable ForkJoin(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.ForkJoin(default(IQbservableProvider), default(IObservable[]))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -205,11 +183,7 @@ public static IQbservable ForkJoin(this IQbservableProvider return provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.ForkJoin(default(IQbservableProvider), default(IEnumerable>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), -#endif Expression.Constant(provider, typeof(IQbservableProvider)), GetSourceExpression(sources) ) @@ -243,11 +217,7 @@ public static IQbservable ForkJoin(this IQ return first.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.ForkJoin(default(IQbservable), default(IObservable), default(Expression>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource1), typeof(TSource2), typeof(TResult)), -#endif first.Expression, GetSourceExpression(second), resultSelector @@ -279,11 +249,7 @@ public static IQbservable Let(this IQbservable( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Let(default(IQbservable), default(Expression, IObservable>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -306,11 +272,7 @@ public static IQbservable ManySelect(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.ManySelect(default(IQbservable), default(Expression, TResult>>))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector ) @@ -335,11 +297,7 @@ public static IQbservable ManySelect(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.ManySelect(default(IQbservable), default(Expression, TResult>>), default(IScheduler))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TSource), typeof(TResult)), -#endif source.Expression, selector, Expression.Constant(scheduler, typeof(IScheduler)) @@ -367,11 +325,7 @@ public static IQbservable ManySelect(this IQbservable return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.WithLatestFrom(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TFirst), typeof(TSecond)), -#endif first.Expression, GetSourceExpression(second) ) @@ -397,11 +351,7 @@ public static IQbservable ManySelect(this IQbservable return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => QbservableEx.Zip(default(IQbservable), default(IEnumerable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TFirst), typeof(TSecond)), -#endif first.Expression, GetSourceExpression(second) ) diff --git a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.cs b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.cs index 8e5c5bc346..f712b7a99f 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.cs +++ b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.cs @@ -2,12 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. -// This code was generated by a T4 template at 10/05/2020 15:28:51. +// This code was generated by a T4 template at 04/19/2023 18:04:44. using System.Linq.Expressions; -#if !CRIPPLED_REFLECTION using System.Reflection; -#endif namespace System.Reactive.Linq { @@ -32,12 +30,8 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond)), -#endif first.Expression, GetSourceExpression(second) ) @@ -68,13 +62,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third) @@ -109,13 +99,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -155,13 +141,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -206,13 +188,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -262,13 +240,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -323,13 +297,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -389,13 +359,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -460,13 +426,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -536,13 +498,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -617,13 +575,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -703,13 +657,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -794,13 +744,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -890,13 +836,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth, TFifteenth Fifteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth), typeof(TFifteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -991,13 +933,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth, TFifteenth Fifteenth, TSixteenth Sixteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth), typeof(TFifteenth), typeof(TSixteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1037,13 +975,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second) ) @@ -1073,13 +1007,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third) @@ -1114,13 +1044,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1160,13 +1086,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1211,13 +1133,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1267,13 +1185,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1328,13 +1242,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1394,13 +1304,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1465,13 +1371,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1541,13 +1443,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1622,13 +1520,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1708,13 +1602,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1799,13 +1689,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1895,13 +1781,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth, TFifteenth Fifteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth), typeof(TFifteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), @@ -1996,13 +1878,9 @@ public static partial class QbservableEx return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth, TThirteenth Thirteenth, TFourteenth Fourteenth, TFifteenth Fifteenth, TSixteenth Sixteenth)>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip(default(IQbservable), default(IObservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(typeof(TFirst), typeof(TSecond), typeof(TThird), typeof(TFourth), typeof(TFifth), typeof(TSixth), typeof(TSeventh), typeof(TEighth), typeof(TNinth), typeof(TTenth), typeof(TEleventh), typeof(TTwelfth), typeof(TThirteenth), typeof(TFourteenth), typeof(TFifteenth), typeof(TSixteenth)), #pragma warning restore IL2060 -#endif first.Expression, GetSourceExpression(second), GetSourceExpression(third), diff --git a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.tt b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.tt index 2d87f707ee..4f0453f3ac 100644 --- a/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.tt +++ b/Rx.NET/Source/src/System.Reactive/Linq/QbservableEx.NAry.tt @@ -11,9 +11,7 @@ // This code was generated by a T4 template at <#=DateTime.Now#>. using System.Linq.Expressions; -#if !CRIPPLED_REFLECTION using System.Reflection; -#endif namespace System.Reactive.Linq { @@ -71,11 +69,7 @@ for (int j = 1; j <= i; j++) return first.Provider.CreateQuery<<#=tuple#>>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.CombineLatest<<#=genArgs#>>(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(<#=typeofGenArgs#>), -#endif first.Expression, <# for (int j = 2; j <= i; j++) @@ -139,11 +133,7 @@ for (int j = 1; j <= i; j++) return first.Provider.CreateQuery<<#=tuple#>>( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => Qbservable.Zip<<#=genArgs#>>(default(IQbservable), default(IObservable))), -#else ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(<#=typeofGenArgs#>), -#endif first.Expression, <# for (int j = 2; j <= i; j++) diff --git a/Rx.NET/Source/src/System.Reactive/Notification.cs b/Rx.NET/Source/src/System.Reactive/Notification.cs index becbe356e7..e1bc7ea4af 100644 --- a/Rx.NET/Source/src/System.Reactive/Notification.cs +++ b/Rx.NET/Source/src/System.Reactive/Notification.cs @@ -37,9 +37,7 @@ public enum NotificationKind /// Represents a notification to an observer. /// /// The type of the elements received by the observer. -#if !NO_SERIALIZABLE [Serializable] -#endif [Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2218:OverrideGetHashCodeOnOverridingEquals", Justification = "Resembles a discriminated union with finite number of subclasses (external users shouldn't create their own subtypes), each of which does override GetHashCode itself.")] public abstract class Notification : IEquatable> { @@ -74,9 +72,7 @@ protected internal Notification() /// Represents an OnNext notification to an observer. /// [DebuggerDisplay("OnNext({Value})")] -#if !NO_SERIALIZABLE [Serializable] -#endif internal sealed class OnNextNotification : Notification { /// @@ -227,9 +223,7 @@ public override TResult Accept(Func onNext, Func [DebuggerDisplay("OnError({Exception})")] -#if !NO_SERIALIZABLE [Serializable] -#endif internal sealed class OnErrorNotification : Notification { /// @@ -380,9 +374,7 @@ public override TResult Accept(Func onNext, Func [DebuggerDisplay("OnCompleted()")] -#if !NO_SERIALIZABLE [Serializable] -#endif internal sealed class OnCompletedNotification : Notification { /// diff --git a/Rx.NET/Source/src/System.Reactive/ObservableQuery.cs b/Rx.NET/Source/src/System.Reactive/ObservableQuery.cs index ef5041c4b4..afa2bb34c7 100644 --- a/Rx.NET/Source/src/System.Reactive/ObservableQuery.cs +++ b/Rx.NET/Source/src/System.Reactive/ObservableQuery.cs @@ -194,11 +194,7 @@ protected override Expression VisitMethodCall(MethodCallExpression/*!*/ node) { var method = node.Method; var declaringType = method.DeclaringType; -#if (CRIPPLED_REFLECTION && HAS_WINRT) - var baseType = declaringType?.GetTypeInfo().BaseType; -#else var baseType = declaringType?.BaseType; -#endif if (baseType == typeof(QueryablePattern)) { if (method.Name == "Then") @@ -386,20 +382,11 @@ private static MethodCallExpression FindObservableMethod(MethodInfo method, ILis { targetType = method.DeclaringType!; // NB: These methods were found from a declaring type. -#if (CRIPPLED_REFLECTION && HAS_WINRT) - var typeInfo = targetType.GetTypeInfo(); - if (typeInfo.IsDefined(typeof(LocalQueryMethodImplementationTypeAttribute), false)) - { - var mapping = (LocalQueryMethodImplementationTypeAttribute)typeInfo.GetCustomAttributes(typeof(LocalQueryMethodImplementationTypeAttribute), false).Single(); - targetType = mapping.TargetType; - } -#else if (targetType.IsDefined(typeof(LocalQueryMethodImplementationTypeAttribute), false)) { var mapping = (LocalQueryMethodImplementationTypeAttribute)targetType.GetCustomAttributes(typeof(LocalQueryMethodImplementationTypeAttribute), false)[0]; targetType = mapping.TargetType; } -#endif methods = GetMethods(targetType); } @@ -439,11 +426,7 @@ private static MethodCallExpression FindObservableMethod(MethodInfo method, ILis private static ILookup GetMethods(Type type) { -#if !(CRIPPLED_REFLECTION && HAS_WINRT) - return type.GetMethods(BindingFlags.Static | BindingFlags.Public).ToLookup(m => m.Name); -#else return type.GetTypeInfo().DeclaredMethods.Where(m => m.IsStatic && m.IsPublic).ToLookup(m => m.Name); -#endif } private static bool ArgsMatch(MethodInfo method, IList arguments, Type[]? typeArgs) diff --git a/Rx.NET/Source/src/System.Reactive/Platforms/Desktop/Linq/Observable.Remoting.cs b/Rx.NET/Source/src/System.Reactive/Platforms/Desktop/Linq/Observable.Remoting.cs index 7cc8d77154..9f6e94e5b3 100644 --- a/Rx.NET/Source/src/System.Reactive/Platforms/Desktop/Linq/Observable.Remoting.cs +++ b/Rx.NET/Source/src/System.Reactive/Platforms/Desktop/Linq/Observable.Remoting.cs @@ -71,13 +71,9 @@ public static IQbservable Remotable(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => RemotingObservable.Remotable(default(IQbservable))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), #pragma warning restore IL2060 -#endif source.Expression ) ); @@ -102,26 +98,15 @@ public static IQbservable Remotable(this IQbservable return source.Provider.CreateQuery( Expression.Call( null, -#if CRIPPLED_REFLECTION - InfoOf(() => RemotingObservable.Remotable(default(IQbservable), default(ILease))), -#else #pragma warning disable IL2060 // ('System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed.) This gets the MethodInfo for the method running right now, so it can't have been trimmed ((MethodInfo)MethodBase.GetCurrentMethod()).MakeGenericMethod(typeof(TSource)), #pragma warning restore IL2060 -#endif source.Expression, Expression.Constant(lease, typeof(ILease)) ) ); } -#if CRIPPLED_REFLECTION - internal static MethodInfo InfoOf(Expression> f) - { - return ((MethodCallExpression)f.Body).Method; - } -#endif - #endregion } } diff --git a/Rx.NET/Source/src/System.Reactive/TimeInterval.cs b/Rx.NET/Source/src/System.Reactive/TimeInterval.cs index d9b0fdeeef..e34012b371 100644 --- a/Rx.NET/Source/src/System.Reactive/TimeInterval.cs +++ b/Rx.NET/Source/src/System.Reactive/TimeInterval.cs @@ -12,9 +12,7 @@ namespace System.Reactive /// The time interval can represent the time it took to produce the value, the interval relative to a previous value, the value's delivery time relative to a base, etc. /// /// The type of the value being annotated with time interval information. -#if !NO_SERIALIZABLE [Serializable] -#endif public readonly struct TimeInterval : IEquatable> { /// diff --git a/Rx.NET/Source/src/System.Reactive/Timestamped.cs b/Rx.NET/Source/src/System.Reactive/Timestamped.cs index 968e320282..3adc08deb9 100644 --- a/Rx.NET/Source/src/System.Reactive/Timestamped.cs +++ b/Rx.NET/Source/src/System.Reactive/Timestamped.cs @@ -12,9 +12,7 @@ namespace System.Reactive /// The timestamp typically represents the time the value was received, using an IScheduler's clock to obtain the current time. /// /// The type of the value being timestamped. -#if !NO_SERIALIZABLE [Serializable] -#endif [Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Timestamped", Justification = "Reviewed and agreed upon.")] public readonly struct Timestamped : IEquatable> { diff --git a/Rx.NET/Source/src/System.Reactive/Unit.cs b/Rx.NET/Source/src/System.Reactive/Unit.cs index 38bb46b82e..1cf242d829 100644 --- a/Rx.NET/Source/src/System.Reactive/Unit.cs +++ b/Rx.NET/Source/src/System.Reactive/Unit.cs @@ -7,9 +7,7 @@ namespace System.Reactive /// /// Represents a type with a single value. This type is often used to denote the successful completion of a void-returning method (C#) or a Sub procedure (Visual Basic). /// -#if !NO_SERIALIZABLE [Serializable] -#endif public readonly struct Unit : IEquatable { /// diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/CurrentThreadSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/CurrentThreadSchedulerTest.cs index ad3b96485f..64b3659d36 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/CurrentThreadSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/CurrentThreadSchedulerTest.cs @@ -31,7 +31,6 @@ public void CurrentThread_Now() Assert.True(res.Seconds < 1); } -#if !NO_THREAD [TestMethod] public void CurrentThread_ScheduleAction() { @@ -40,7 +39,6 @@ public void CurrentThread_ScheduleAction() Scheduler.CurrentThread.Schedule(() => { Assert.Equal(id, Thread.CurrentThread.ManagedThreadId); ran = true; }); Assert.True(ran); } -#endif [TestMethod] public void CurrentThread_ScheduleActionError() @@ -57,7 +55,7 @@ public void CurrentThread_ScheduleActionError() Assert.Same(e, ex); } } -#if !NO_THREAD + [TestMethod] public void CurrentThread_ScheduleActionNested() { @@ -110,7 +108,7 @@ public void CurrentThread_ScheduleActionDueNested() }); Assert.True(ran, "ran"); } -#endif + [TestMethod] public void CurrentThread_EnsureTrampoline() { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/DefaultSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/DefaultSchedulerTest.cs index 96a4bdd5bd..df7d15532d 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/DefaultSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/DefaultSchedulerTest.cs @@ -31,7 +31,7 @@ public void Get_Now() var res = DefaultScheduler.Instance.Now - DateTime.Now; Assert.True(res.Seconds < 1); } -#if !NO_THREAD + [TestMethod] public void ScheduleAction() { @@ -94,7 +94,6 @@ public void Periodic_NonReentrant() Assert.False(fail); } -#endif #if DESKTOPCLR [TestCategory("SkipCI")] [TestMethod] diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/EventLoopSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/EventLoopSchedulerTest.cs index be92a37485..176f2def98 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/EventLoopSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/EventLoopSchedulerTest.cs @@ -29,9 +29,7 @@ public void EventLoop_ArgumentChecking() { using var el = new EventLoopScheduler(); -#if !NO_THREAD ReactiveAssert.Throws(() => new EventLoopScheduler(null)); -#endif ReactiveAssert.Throws(() => el.Schedule(42, default)); ReactiveAssert.Throws(() => el.Schedule(42, DateTimeOffset.Now, default)); ReactiveAssert.Throws(() => el.Schedule(42, TimeSpan.Zero, default)); @@ -76,7 +74,6 @@ public void EventLoop_ScheduleAction() Assert.True(ran); } -#if !NO_THREAD [TestMethod] public void EventLoop_DifferentThread() { @@ -91,7 +88,6 @@ public void EventLoop_DifferentThread() Assert.True(gate.WaitOne(MaxWaitTime), "Timeout!"); Assert.NotEqual(Thread.CurrentThread.ManagedThreadId, id); } -#endif [TestMethod] public void EventLoop_ScheduleOrderedActions() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ImmediateSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ImmediateSchedulerTest.cs index 653ac179ca..a8c4545db1 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ImmediateSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ImmediateSchedulerTest.cs @@ -22,8 +22,9 @@ public void Immediate_Now() { var res = Scheduler.Immediate.Now - DateTime.Now; Assert.True(res.Seconds < 1); + } -#if !NO_THREAD + [TestMethod] public void Immediate_ScheduleAction() { @@ -32,7 +33,6 @@ public void Immediate_ScheduleAction() Scheduler.Immediate.Schedule(() => { Assert.Equal(id, Thread.CurrentThread.ManagedThreadId); ran = true; }); Assert.True(ran); } -#endif [TestMethod] public void Immediate_ScheduleActionError() @@ -146,7 +146,6 @@ public void Immediate_ArgumentChecking_More() }); } -#if !NO_THREAD [TestMethod] public void Immediate_ScheduleActionDue() { @@ -155,6 +154,5 @@ public void Immediate_ScheduleActionDue() Scheduler.Immediate.Schedule(TimeSpan.FromSeconds(0.2), () => { Assert.Equal(id, Thread.CurrentThread.ManagedThreadId); ran = true; }); Assert.True(ran, "ran"); } -#endif } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/NewThreadSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/NewThreadSchedulerTest.cs index 6ba99d4dba..f8d22fd36b 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/NewThreadSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/NewThreadSchedulerTest.cs @@ -13,7 +13,6 @@ namespace ReactiveTests.Tests { -#if !NO_THREAD [TestClass] public class NewThreadSchedulerTest { @@ -35,7 +34,7 @@ public void NewThread_Now() var res = NewThreadScheduler.Default.Now - DateTime.Now; Assert.True(res.Seconds < 1); } -#if !NO_THREAD + [TestMethod] public void NewThread_ScheduleAction() { @@ -55,7 +54,6 @@ public void NewThread_ScheduleActionDue() nt.Schedule(TimeSpan.FromSeconds(0.2), () => { Assert.NotEqual(id, Thread.CurrentThread.ManagedThreadId); evt.Set(); }); evt.WaitOne(); } -#endif #if !NO_PERF [TestMethod] @@ -87,7 +85,6 @@ public void NewThread_Periodic() d.Dispose(); } -#if !NO_THREAD [TestMethod] public void NewThread_Periodic_NonReentrant() { @@ -118,7 +115,5 @@ public void NewThread_Periodic_NonReentrant() Assert.False(fail); } -#endif } -#endif } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SchedulerTest.cs index d1a4436556..cabde89dfa 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SchedulerTest.cs @@ -220,14 +220,12 @@ private void Scheduler_Builtins_NoPlib() e.WaitOne(); } -#if !NO_THREAD // NewThread { var e = new ManualResetEvent(false); Scheduler.NewThread.Schedule(() => e.Set()); e.WaitOne(); } -#endif // TaskPool { @@ -243,7 +241,7 @@ private void Scheduler_Builtins_NoPlib() #if !NO_PERF -#if !WINDOWS && !NO_THREAD +#if !WINDOWS [TestMethod] public void Scheduler_LongRunning_ArgumentChecking() { @@ -336,7 +334,7 @@ public void Scheduler_LongRunning2() #if !NO_PERF -#if !WINDOWS && !NO_THREAD +#if !WINDOWS [TestMethod] public void Scheduler_Periodic1() { @@ -482,7 +480,7 @@ public void DisableOptimizations_ArgumentChecking() { ReactiveAssert.Throws(() => Scheduler.DisableOptimizations(default)); ReactiveAssert.Throws(() => Scheduler.DisableOptimizations(default, new Type[0])); -#if !WINDOWS && !NO_THREAD +#if !WINDOWS ReactiveAssert.Throws(() => Scheduler.DisableOptimizations(ThreadPoolScheduler.Instance, default)); #endif ReactiveAssert.Throws(() => Scheduler.DisableOptimizations(Scheduler.Default).Schedule(42, default)); @@ -1504,8 +1502,6 @@ public void SchedulerAsync_Sleep_Cancel() e.WaitOne(); } -#if !NO_SYNCCTX - [TestMethod] public void SchedulerAsync_ScheduleAsync_SyncCtx() { @@ -1567,8 +1563,5 @@ public override void Post(SendOrPostCallback d, object state) d(state); } } - -#endif - } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SynchronizationContextSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SynchronizationContextSchedulerTest.cs index 7418a692f0..1e2a9f555b 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SynchronizationContextSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/SynchronizationContextSchedulerTest.cs @@ -172,7 +172,6 @@ public void SynchronizationContext_DontPost_Different() Assert.True(ran); } -#if !NO_THREAD [TestMethod] public void SynchronizationContext_DontPost_Same() { @@ -196,7 +195,6 @@ public void SynchronizationContext_DontPost_Same() Assert.True(count == 0 /* no post */); Assert.True(ran); } -#endif [TestMethod] public void SynchronizationContext_AlwaysPost_Different() @@ -210,7 +208,6 @@ public void SynchronizationContext_AlwaysPost_Different() Assert.True(ran); } -#if !NO_THREAD [TestMethod] public void SynchronizationContext_AlwaysPost_Same() { @@ -234,6 +231,5 @@ public void SynchronizationContext_AlwaysPost_Same() Assert.True(count == 1 /* post */); Assert.True(ran); } -#endif } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/TaskPoolSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/TaskPoolSchedulerTest.cs index 301ee79e55..33eae3fcc0 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/TaskPoolSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/TaskPoolSchedulerTest.cs @@ -33,7 +33,6 @@ public void TaskPool_Now() Assert.True(res.Seconds < 1); } -#if !NO_THREAD [TestMethod] public void TaskPool_ScheduleAction() { @@ -116,7 +115,6 @@ public void TaskPool_ScheduleLongRunning() Assert.True(n >= 0); } #endif -#endif #if !NO_PERF [TestMethod] @@ -148,7 +146,6 @@ public void TaskPool_Periodic() d.Dispose(); } -#if !NO_THREAD [TestMethod] public void TaskPool_Periodic_NonReentrant() { @@ -179,7 +176,6 @@ public void TaskPool_Periodic_NonReentrant() Assert.False(fail); } -#endif [TestMethod] public void TaskPool_Delay_LargerThanIntMaxValue() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ThreadPoolSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ThreadPoolSchedulerTest.cs index ed648a9702..966706f4fc 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ThreadPoolSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/ThreadPoolSchedulerTest.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT License. // See the LICENSE file in the project root for more information. -#if !NO_THREAD using System; using System.Collections.Generic; using System.Linq; @@ -338,4 +337,3 @@ public void No_ThreadPool_Starvation_Dispose() #endif } } -#endif diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/VirtualSchedulerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/VirtualSchedulerTest.cs index b39a8dc76a..2f97e6b565 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/VirtualSchedulerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Concurrency/VirtualSchedulerTest.cs @@ -52,7 +52,7 @@ public void Virtual_Now() var res = new VirtualSchedulerTestScheduler().Now - DateTime.Now; Assert.True(res.Seconds < 1); } -#if !NO_THREAD + [TestMethod] public void Virtual_ScheduleAction() { @@ -63,7 +63,6 @@ public void Virtual_ScheduleAction() scheduler.Start(); Assert.True(ran); } -#endif [TestMethod] public void Virtual_ScheduleActionError() @@ -114,7 +113,6 @@ public void Historical_ArgumentChecking() ReactiveAssert.Throws(() => new HistoricalScheduler().ScheduleRelative(42, TimeSpan.FromSeconds(1), default)); } -#if !NO_THREAD [TestMethod] public void Virtual_ScheduleActionDue() { @@ -125,7 +123,6 @@ public void Virtual_ScheduleActionDue() scheduler.Start(); Assert.True(ran, "ran"); } -#endif [TestMethod] [TestCategory("SkipCI")] diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/DefaultConcurrencyAbstractionLayerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/DefaultConcurrencyAbstractionLayerTest.cs index 154a0f3f99..aba9a94e87 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/DefaultConcurrencyAbstractionLayerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/DefaultConcurrencyAbstractionLayerTest.cs @@ -260,7 +260,6 @@ public void CreateThread() } state.Value.Set(); -#if !NO_THREAD var w = new ManualResetEvent(false); var d = slr.ScheduleLongRunning(cancel => @@ -276,9 +275,6 @@ public void CreateThread() Thread.Sleep(50); d.Dispose(); w.WaitOne(); -#else - state.Value.Set(); -#endif }); e.Value.WaitOne(); diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/AverageTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/AverageTest.cs index 02d0fd547f..c7cea7a426 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/AverageTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/AverageTest.cs @@ -1287,7 +1287,6 @@ public void Average_Nullable_Decimal_Never() } #if !NO_PERF -#if !NO_THREAD [TestMethod] public void Average_InjectOverflow_Int32() { @@ -1387,8 +1386,7 @@ public void Average_InjectOverflow_Decimal_Nullable() ReactiveAssert.Throws(() => res.ForEach(_ => { })); } -#endif -#if !CRIPPLED_REFLECTION || NETCOREAPP1_1 || NETCOREAPP1_0 + private class OverflowInjection : IObservable { private readonly IObservable _source; @@ -1408,7 +1406,6 @@ public IDisposable Subscribe(IObserver observer) return _source.Subscribe(observer); } } -#endif #endif [TestMethod] diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CatchTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CatchTest.cs index 31d912bc4c..f0ba464146 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CatchTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CatchTest.cs @@ -958,7 +958,7 @@ public void Catch_TailRecursive1() res.Messages.AssertEqual(expected); } -#if HAS_STACKTRACE && !NO_THREAD +#if HAS_STACKTRACE [TestMethod] public void Catch_TailRecursive2() { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ConcatTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ConcatTest.cs index 9ab94b8aa6..f6c8e23e34 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ConcatTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ConcatTest.cs @@ -922,7 +922,6 @@ public void Concat_TailRecursive1() res.Messages.AssertEqual(expected); } -#if !NO_THREAD && !NETCOREAPP1_1 && !NETCOREAPP1_0 [TestMethod] public void Concat_TailRecursive2() { @@ -932,7 +931,6 @@ public void Concat_TailRecursive2() Assert.True(lst.Last() - lst.First() < 10); } -#endif #endif [TestMethod] diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CountTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CountTest.cs index 3a43a8a62c..a7725309d7 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CountTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/CountTest.cs @@ -145,7 +145,7 @@ public void Count_Never() ); } -#if !NO_PERF && !NO_THREAD +#if !NO_PERF [TestMethod] public void Count_InjectOverflow() { @@ -442,7 +442,7 @@ public void Count_Predicate_PredicateThrows() ); } -#if !NO_PERF && !NO_THREAD && !CRIPPLED_REFLECTION +#if !NO_PERF [TestMethod] public void Count_Predicate_InjectOverflow() @@ -457,7 +457,6 @@ public void Count_Predicate_InjectOverflow() } -#if !CRIPPLED_REFLECTION || NETCOREAPP1_1 || NETCOREAPP1_0 internal class OverflowInjection : IObservable { private readonly IObservable _source; @@ -477,5 +476,4 @@ public IDisposable Subscribe(IObserver observer) return _source.Subscribe(observer); } } -#endif } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/DelayTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/DelayTest.cs index 571c8461d7..02e408025a 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/DelayTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/DelayTest.cs @@ -447,7 +447,6 @@ private void Delay_DateTimeOffset_Error2_Impl(bool useStopwatch) ); } -#if !NO_THREAD [TestMethod] public void Delay_TimeSpan_Real_Simple1() { @@ -459,7 +458,6 @@ public void Delay_TimeSpan_Real_Simple1_Stopwatch() { Delay_TimeSpan_Real_Simple1_Impl(ThreadPoolScheduler.Instance); } -#endif private void Delay_TimeSpan_Real_Simple1_Impl(IScheduler scheduler) { @@ -483,7 +481,6 @@ private void Delay_TimeSpan_Real_Simple1_Impl(IScheduler scheduler) Assert.True(new[] { 1, 2, 3 }.SequenceEqual(lst)); } -#if !NO_THREAD [TestMethod] public void Delay_TimeSpan_Real_Error1() { @@ -495,7 +492,6 @@ public void Delay_TimeSpan_Real_Error1_Stopwatch() { Delay_TimeSpan_Real_Error1_Impl(ThreadPoolScheduler.Instance); } -#endif private void Delay_TimeSpan_Real_Error1_Impl(IScheduler scheduler) { @@ -521,7 +517,6 @@ private void Delay_TimeSpan_Real_Error1_Impl(IScheduler scheduler) Assert.Same(ex, err); } -#if !NO_THREAD [TestMethod] public void Delay_TimeSpan_Real_Error2() { @@ -533,7 +528,6 @@ public void Delay_TimeSpan_Real_Error2_Stopwatch() { Delay_TimeSpan_Real_Error2_Impl(ThreadPoolScheduler.Instance); } -#endif private void Delay_TimeSpan_Real_Error2_Impl(IScheduler scheduler) { @@ -560,7 +554,6 @@ private void Delay_TimeSpan_Real_Error2_Impl(IScheduler scheduler) Assert.Same(ex, err); } -#if !NO_THREAD [TestMethod] public void Delay_TimeSpan_Real_Error3() { @@ -572,7 +565,6 @@ public void Delay_TimeSpan_Real_Error3_Stopwatch() { Delay_TimeSpan_Real_Error3_Impl(ThreadPoolScheduler.Instance); } -#endif private void Delay_TimeSpan_Real_Error3_Impl(IScheduler scheduler) { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FirstOrDefaultTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FirstOrDefaultTest.cs index f4dbe6723f..af3987ff02 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FirstOrDefaultTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FirstOrDefaultTest.cs @@ -64,7 +64,6 @@ public void FirstOrDefault_Range() Assert.Equal(value, Observable.Range(value, 10).FirstOrDefault()); } -#if !NO_THREAD [TestMethod] public void FirstOrDefault_NoDoubleSet() { @@ -97,7 +96,6 @@ public void FirstOrDefault_NoDoubleSet() o.Done(); } -#endif private class O : IObservable { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ForEachAsyncTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ForEachAsyncTest.cs index d1bd05c457..d27517dceb 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ForEachAsyncTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ForEachAsyncTest.cs @@ -509,7 +509,6 @@ public void ForEachAsync_DisposeThrows2() } } -#if !NO_THREAD [TestMethod] [TestCategory("SkipCI")] public void ForEachAsync_DisposeThrows() @@ -593,7 +592,5 @@ public void ForEachAsync_SubscribeThrows() Assert.Same(ex, err.InnerExceptions[0]); } } -#endif - } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FromEventTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FromEventTest.cs index d242429662..29e4a6ed87 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FromEventTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/FromEventTest.cs @@ -240,7 +240,7 @@ public void FromEvent_ImplicitPublish() Assert.True(snd.SequenceEqual(new[] { 43, 44 })); Assert.True(thd.SequenceEqual(new[] { 44, 45 })); } -#if !NO_THREAD + [TestMethod] public void FromEvent_SynchronizationContext() { @@ -337,7 +337,6 @@ private void RunWithContext(T ctx, Action run) t.Start(); t.Join(); } -#endif [TestMethod] public void FromEvent_Scheduler1() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/LongCountTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/LongCountTest.cs index cc62e8111f..fdace6c878 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/LongCountTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/LongCountTest.cs @@ -146,7 +146,7 @@ public void LongCount_Never() ); } -#if !NO_PERF && !NO_THREAD +#if !NO_PERF [TestMethod] public void LongCount_InjectOverflow() { @@ -443,7 +443,7 @@ public void LongCount_Predicate_PredicateThrows() ); } -#if !NO_PERF && !NO_THREAD && !CRIPPLED_REFLECTION +#if !NO_PERF [TestMethod] public void LongCount_Predicate_InjectOverflow() { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/NextTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/NextTest.cs index 5f71c1ced9..4a8b9de55e 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/NextTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/NextTest.cs @@ -135,7 +135,6 @@ public void Next_SomeResults() Assert.True(res.Count == res.Distinct().Count()); } -#if !NO_THREAD [TestMethod] public void Next_Error() { @@ -171,7 +170,5 @@ public void Next_Error() ReactiveAssert.Throws(ex, () => res.MoveNext()); } -#endif - } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ObserveOnTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ObserveOnTest.cs index 9281112c9e..52bb0691ae 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ObserveOnTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/ObserveOnTest.cs @@ -60,7 +60,7 @@ public void ObserveOn_ArgumentChecking() [TestMethod] public void ObserveOn_Control() { - bool okay = true; + var okay = true; using (WinFormsTestUtils.RunTest(out var lbl)) { @@ -81,7 +81,7 @@ public void ObserveOn_Control() [TestMethod] public void ObserveOn_ControlScheduler() { - bool okay = true; + var okay = true; using (WinFormsTestUtils.RunTest(out var lbl)) { @@ -108,7 +108,7 @@ public void ObserveOn_Dispatcher() { RunAsync(evt => { - bool okay = true; + var okay = true; Observable.Range(0, 10, NewThreadScheduler.Default).ObserveOn(dispatcher).Subscribe(x => { okay &= (SynchronizationContext.Current is System.Windows.Threading.DispatcherSynchronizationContext); @@ -129,7 +129,7 @@ public void ObserveOn_DispatcherScheduler() { RunAsync(evt => { - bool okay = true; + var okay = true; Observable.Range(0, 10, NewThreadScheduler.Default).ObserveOn(new DispatcherScheduler(dispatcher)).Subscribe(x => { okay &= (SynchronizationContext.Current is System.Windows.Threading.DispatcherSynchronizationContext); @@ -150,7 +150,7 @@ public void ObserveOn_CurrentDispatcher() { RunAsync(evt => { - bool okay = true; + var okay = true; dispatcher.BeginInvoke(new Action(() => { Observable.Range(0, 10, NewThreadScheduler.Default).ObserveOnDispatcher().Subscribe(x => @@ -175,7 +175,7 @@ public void ObserveOn_Error() RunAsync(evt => { var ex = new Exception(); - bool okay = true; + var okay = true; dispatcher.BeginInvoke(new Action(() => { @@ -468,7 +468,6 @@ public void ObserveOn_LongRunning_Error() Assert.Same(ex_, err); } -#if !NO_THREAD [TestMethod] public void ObserveOn_LongRunning_TimeVariance() { @@ -500,7 +499,6 @@ public void ObserveOn_LongRunning_TimeVariance() end.WaitOne(); } -#endif [TestMethod] public void ObserveOn_LongRunning_HoldUpDuringDispatchAndFail() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/OnErrorResumeNextTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/OnErrorResumeNextTest.cs index 92d6420ef1..f9f5a0fa3f 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/OnErrorResumeNextTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/OnErrorResumeNextTest.cs @@ -670,7 +670,7 @@ public void OnErrorResumeNext_TailRecursive1() res.Messages.AssertEqual(expected); } -#if HAS_STACKTRACE && !NO_THREAD +#if HAS_STACKTRACE [TestMethod] public void OnErrorResumeNext_TailRecursive2() { diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/SynchronizeTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/SynchronizeTest.cs index 4b3a11baa0..3ea1c155c9 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/SynchronizeTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/SynchronizeTest.cs @@ -28,7 +28,6 @@ public void Synchronize_ArgumentChecking() ReactiveAssert.Throws(() => Observable.Synchronize(someObservable, null)); } -#if !NO_THREAD [TestMethod] public void Synchronize_Range() { @@ -127,7 +126,5 @@ public void Synchronize_BadObservable() Assert.Equal(Enumerable.Range(0, 200).Sum(), sum); } -#endif - } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/TimerTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/TimerTest.cs index 1e128cfdac..5b91fc6410 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/TimerTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/TimerTest.cs @@ -673,7 +673,6 @@ public void RepeatingTimer_NoStopwatch_Slippage2() ); } -#if !NO_THREAD [TestMethod] public void RepeatingTimer_Start_CatchUp() { @@ -733,8 +732,6 @@ public void RepeatingTimer_Start_CatchUp_Throws() Assert.Same(err, ex); } -#endif - } internal class SchedulerWithCatch : IServiceProvider, IScheduler diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/WaitTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/WaitTest.cs index 9098983222..566c9eaaba 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/WaitTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/WaitTest.cs @@ -22,7 +22,6 @@ public void Wait_ArgumentChecking() ReactiveAssert.Throws(() => Observable.Wait(default(IObservable))); } -#if !NO_THREAD [TestMethod] public void Wait_Return() { @@ -31,7 +30,6 @@ public void Wait_Return() var res = xs.Wait(); Assert.Equal(x, res); } -#endif [TestMethod] public void Wait_Empty() @@ -49,7 +47,6 @@ public void Wait_Throw() ReactiveAssert.Throws(ex, () => xs.Wait()); } -#if !NO_THREAD [TestMethod] public void Wait_Range() { @@ -58,7 +55,5 @@ public void Wait_Range() var res = xs.Wait(); Assert.Equal(n, res); } -#endif - } } diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/QbservableTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/QbservableTest.cs index da146f43f9..dae42fa71d 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/QbservableTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/QbservableTest.cs @@ -1872,7 +1872,6 @@ public void Qbservable_Extensibility_Combinator() Assert.Equal("***", res2); } -#if !CRIPPLED_REFLECTION [TestMethod] public void Qbservable_Extensibility_Constructor() { @@ -1894,7 +1893,6 @@ public void Qbservable_Extensibility_Missing() Assert.True(false); } -#endif [TestMethod] public void Qbservable_HigherOrder() @@ -1906,7 +1904,6 @@ public void Qbservable_HigherOrder() public static class MyExt { -#if !CRIPPLED_REFLECTION public static IQbservable Foo(this IQbservable source, Expression> f) { return source.Provider.CreateQuery( @@ -1917,13 +1914,12 @@ public static IQbservable Foo(this IQbservable source, Expression Foo(this IObservable source, Func f) { return source.Select(f); } -#if !CRIPPLED_REFLECTION + public static IQbservable Bar(this IQbservable source) { return source.Provider.CreateQuery( @@ -1934,13 +1930,11 @@ public static IQbservable Bar(this IQbservable source) ); } -#endif public static IObservable Bar(this IObservable source) { return source.Select(x => new string('*', x)); } -#if !CRIPPLED_REFLECTION public static IQbservable Qux(this IQbservableProvider provider, T value) { return provider.CreateQuery( @@ -1951,14 +1945,12 @@ public static IQbservable Qux(this IQbservableProvider provider, T value) ) ); } -#endif public static IObservable Qux(T value) { return Observable.Return(value); } -#if !CRIPPLED_REFLECTION public static IQbservable Baz(this IQbservable source, Expression> f) { return source.Provider.CreateQuery( @@ -1969,7 +1961,6 @@ public static IQbservable Baz(this IQbservable source, Expression : IQbservable diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/AsyncSubjectTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/AsyncSubjectTest.cs index 886a9c205a..7efbf616be 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/AsyncSubjectTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/AsyncSubjectTest.cs @@ -304,8 +304,6 @@ public void SubjectDisposed() ); } - -#if !NO_THREAD [TestMethod] public void Await_Blocking() { @@ -319,7 +317,6 @@ public void Await_Throw() var s = new AsyncSubject(); GetResult_Blocking_ThrowImpl(s.GetAwaiter()); } -#endif [TestMethod] public void GetResult_Empty() @@ -329,7 +326,6 @@ public void GetResult_Empty() ReactiveAssert.Throws(() => s.GetResult()); } -#if !NO_THREAD [TestMethod] public void GetResult_Blocking() { @@ -401,7 +397,6 @@ private void GetResult_Blocking_ThrowImpl(AsyncSubject s) Assert.Same(ex, y); Assert.True(s.IsCompleted); } -#endif [TestMethod] public void GetResult_Context() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/SubjectTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/SubjectTest.cs index 659267b018..34260da3ba 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/SubjectTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Subjects/SubjectTest.cs @@ -446,7 +446,6 @@ public void Subject_Synchronize_ArgumentChecking() ReactiveAssert.Throws(() => Subject.Synchronize(s, null)); } -#if !NO_THREAD [TestMethod] public void Subject_Synchronize1() { @@ -501,7 +500,6 @@ public void Subject_Synchronize2() Assert.Equal(Enumerable.Range(0, N).Sum(), y); } -#endif [TestMethod] public void HasObservers() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ObserverTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ObserverTest.cs index bbdfe54a01..d03ee86b2c 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ObserverTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/ObserverTest.cs @@ -734,7 +734,6 @@ public void NotifyOn_Null() ReactiveAssert.Throws(() => Observer.NotifyOn(new MyObserver(), default(SynchronizationContext))); } -#if !NO_THREAD [TestMethod] public void NotifyOn_Scheduler_OnCompleted() { @@ -799,7 +798,6 @@ private void NotifyOn_Scheduler(bool success) e.WaitOne(); Assert.Equal(N, c); } -#endif [TestMethod] public void NotifyOn_SyncCtx() diff --git a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/RegressionTest.cs b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/RegressionTest.cs index f11c773a77..e2dd9e2923 100644 --- a/Rx.NET/Source/tests/Tests.System.Reactive/Tests/RegressionTest.cs +++ b/Rx.NET/Source/tests/Tests.System.Reactive/Tests/RegressionTest.cs @@ -112,7 +112,6 @@ public void Bug_1130() Assert.Null(xs as ISubject); } -#if !NO_THREAD [TestMethod] public void Bug_1286() { @@ -127,7 +126,6 @@ public void Bug_1286() //if the first doesn't this one always disp.Dispose(); } -#endif [TestMethod] public void Bug_1287() @@ -138,7 +136,6 @@ public void Bug_1287() Assert.True(flag); } -#if !NO_THREAD private static IEnumerable Bug_1333_Enumerable(AsyncSubject s, Semaphore sema) { var d = s.First(); @@ -159,7 +156,6 @@ public void Bug_1333() d.OnCompleted(); sema.WaitOne(); } -#endif [TestMethod] public void Bug_1295_Completed() diff --git a/Rx.NET/tools/HomoIcon/Program.cs b/Rx.NET/tools/HomoIcon/Program.cs index 432af3e4c5..aec0e16f64 100644 --- a/Rx.NET/tools/HomoIcon/Program.cs +++ b/Rx.NET/tools/HomoIcon/Program.cs @@ -419,14 +419,10 @@ from c in a.GetGenericParameterConstraints() Indent(); WriteLine("null,"); var cma = args.Count > 0 ? "," : ""; - WriteLine("#if CRIPPLED_REFLECTION", true); - WriteLine("InfoOf(() => " + typeName + "." + name + g + "(" + string.Join(", ", ptps.Select(pt => "default(" + pt + ")")) + "))" + cma); - WriteLine("#else", true); if (!m.IsGenericMethod) WriteLine("(MethodInfo)MethodInfo.GetCurrentMethod()!" + cma); else WriteLine("((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(" + string.Join(", ", m.GetGenericArguments().Select(ga => "typeof(" + ga.Name + ")").ToArray()) + ")" + cma); - WriteLine("#endif", true); for (int j = 0; j < args.Count; j++) WriteLine(args[j] + (j < args.Count - 1 ? "," : "")); Outdent(); @@ -605,17 +601,10 @@ static void GenerateAsync(IDictionary docs, string typeName) } WriteLine(""); - WriteLine("#if CRIPPLED_REFLECTION", true); - var aprs = new List { "IQbservableProvider", actType }; - if (withScheduler) - aprs.Add("IScheduler"); - WriteLine("var m = InfoOf(() => " + typeName + ".ToAsync" + genArgss + "(" + string.Join(", ", aprs.Select(pt => "default(" + pt + ")")) + "));"); - WriteLine("#else", true); if (genArgs.Length == 0) WriteLine("var m = (MethodInfo)MethodInfo.GetCurrentMethod()!;"); else WriteLine("var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(" + string.Join(", ", genArgs.Select(a => "typeof(" + a + ")").ToArray()) + ");"); - WriteLine("#endif", true); WriteLine("return (" + string.Join(", ", lamPars) + ") => provider.CreateQuery<" + ret + ">("); Indent(); @@ -744,15 +733,10 @@ static void GenerateAsync(IDictionary docs, string typeName) WriteLine(""); - WriteLine("#if CRIPPLED_REFLECTION", true); - var aprs = new List { "IQbservableProvider", begType, endType }; - WriteLine("var m = InfoOf(() => " + typeName + ".FromAsyncPattern" + genArgss + "(" + string.Join(", ", aprs.Select(pt => "default(" + pt + ")")) + "));"); - WriteLine("#else", true); if (genArgs.Length == 0) WriteLine("var m = (MethodInfo)MethodInfo.GetCurrentMethod()!;"); else WriteLine("var m = ((MethodInfo)MethodInfo.GetCurrentMethod()!).MakeGenericMethod(" + string.Join(", ", genArgs.Select(a => "typeof(" + a + ")").ToArray()) + ");"); - WriteLine("#endif", true); WriteLine("return (" + string.Join(", ", lamPars) + ") => provider.CreateQuery<" + ret + ">("); Indent();