// 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. // This code was generated by a T4 template at 04/19/2023 18:04:44. using System.Linq.Expressions; using System.Reflection; namespace System.Reactive.Linq { #pragma warning disable CA1711 // (Don't use Ex suffix.) This has been a public type for many years, so we can't rename it now. public static partial class QbservableEx #pragma warning restore CA1711 { /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// First observable source. /// Second observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or is null. public static IQbservable<(TFirst First, TSecond Second)> CombineLatest(this IQbservable first, IObservable second) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, #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)), first.Expression, GetSourceExpression(second) ) ); #pragma warning restore IL2060 // Call to 'System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method. } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third)> CombineLatest(this IQbservable first, IObservable second, IObservable third) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or is null. public static IQbservable<(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)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or is null. public static IQbservable<(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)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// The type of the elements in the fifteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// Fifteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or or is null. public static IQbservable<(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)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth, IObservable fifteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); if (fifteenth == null) throw new ArgumentNullException(nameof(fifteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth), GetSourceExpression(fifteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever any of the observable sequences produces an element. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// The type of the elements in the fifteenth source sequence. /// The type of the elements in the sixteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// Fifteenth observable source. /// Sixteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or or or is null. public static IQbservable<(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)> CombineLatest(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth, IObservable fifteenth, IObservable sixteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); if (fifteenth == null) throw new ArgumentNullException(nameof(fifteenth)); if (sixteenth == null) throw new ArgumentNullException(nameof(sixteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth), GetSourceExpression(fifteenth), GetSourceExpression(sixteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// First observable source. /// Second observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or is null. public static IQbservable<(TFirst First, TSecond Second)> Zip(this IQbservable first, IObservable second) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); return first.Provider.CreateQuery<(TFirst First, TSecond Second)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third)> Zip(this IQbservable first, IObservable second, IObservable third) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); return first.Provider.CreateQuery<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth)>( Expression.Call( null, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or is null. public static IQbservable<(TFirst First, TSecond Second, TThird Third, TFourth Fourth, TFifth Fifth, TSixth Sixth, TSeventh Seventh, TEighth Eighth, TNinth Ninth, TTenth Tenth, TEleventh Eleventh, TTwelfth Twelfth)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or is null. public static IQbservable<(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)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or is null. public static IQbservable<(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)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// The type of the elements in the fifteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// Fifteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or or is null. public static IQbservable<(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)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth, IObservable fifteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); if (fifteenth == null) throw new ArgumentNullException(nameof(fifteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth), GetSourceExpression(fifteenth) ) ); } /// /// Merges the specified observable sequences into one observable sequence of tuple values whenever all of the observable sequences have produced an element at a corresponding index. /// /// The type of the elements in the first source sequence. /// The type of the elements in the second source sequence. /// The type of the elements in the third source sequence. /// The type of the elements in the fourth source sequence. /// The type of the elements in the fifth source sequence. /// The type of the elements in the sixth source sequence. /// The type of the elements in the seventh source sequence. /// The type of the elements in the eighth source sequence. /// The type of the elements in the ninth source sequence. /// The type of the elements in the tenth source sequence. /// The type of the elements in the eleventh source sequence. /// The type of the elements in the twelfth source sequence. /// The type of the elements in the thirteenth source sequence. /// The type of the elements in the fourteenth source sequence. /// The type of the elements in the fifteenth source sequence. /// The type of the elements in the sixteenth source sequence. /// First observable source. /// Second observable source. /// Third observable source. /// Fourth observable source. /// Fifth observable source. /// Sixth observable source. /// Seventh observable source. /// Eighth observable source. /// Ninth observable source. /// Tenth observable source. /// Eleventh observable source. /// Twelfth observable source. /// Thirteenth observable source. /// Fourteenth observable source. /// Fifteenth observable source. /// Sixteenth observable source. /// An observable sequence containing the result of combining elements of the sources using tuple values. /// or or or or or or or or or or or or or or or is null. public static IQbservable<(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)> Zip(this IQbservable first, IObservable second, IObservable third, IObservable fourth, IObservable fifth, IObservable sixth, IObservable seventh, IObservable eighth, IObservable ninth, IObservable tenth, IObservable eleventh, IObservable twelfth, IObservable thirteenth, IObservable fourteenth, IObservable fifteenth, IObservable sixteenth) { if (first == null) throw new ArgumentNullException(nameof(first)); if (second == null) throw new ArgumentNullException(nameof(second)); if (third == null) throw new ArgumentNullException(nameof(third)); if (fourth == null) throw new ArgumentNullException(nameof(fourth)); if (fifth == null) throw new ArgumentNullException(nameof(fifth)); if (sixth == null) throw new ArgumentNullException(nameof(sixth)); if (seventh == null) throw new ArgumentNullException(nameof(seventh)); if (eighth == null) throw new ArgumentNullException(nameof(eighth)); if (ninth == null) throw new ArgumentNullException(nameof(ninth)); if (tenth == null) throw new ArgumentNullException(nameof(tenth)); if (eleventh == null) throw new ArgumentNullException(nameof(eleventh)); if (twelfth == null) throw new ArgumentNullException(nameof(twelfth)); if (thirteenth == null) throw new ArgumentNullException(nameof(thirteenth)); if (fourteenth == null) throw new ArgumentNullException(nameof(fourteenth)); if (fifteenth == null) throw new ArgumentNullException(nameof(fifteenth)); if (sixteenth == null) throw new ArgumentNullException(nameof(sixteenth)); 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, #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 first.Expression, GetSourceExpression(second), GetSourceExpression(third), GetSourceExpression(fourth), GetSourceExpression(fifth), GetSourceExpression(sixth), GetSourceExpression(seventh), GetSourceExpression(eighth), GetSourceExpression(ninth), GetSourceExpression(tenth), GetSourceExpression(eleventh), GetSourceExpression(twelfth), GetSourceExpression(thirteenth), GetSourceExpression(fourteenth), GetSourceExpression(fifteenth), GetSourceExpression(sixteenth) ) ); } } }