<PackageReference Include="System.Reactive" Version="6.1.0" />

Helpers

static class Helpers
using System.Runtime.CompilerServices; namespace System.Reactive { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] internal static class Helpers { public static bool All(this bool[] values) { for (int i = 0; i < values.Length; i++) { if (!values[i]) return false; } return true; } public static bool AllExcept(this bool[] values, int index) { for (int i = 0; i < values.Length; i++) { if (i != index && !values[i]) return false; } return true; } } }