1 write to RemainingTests
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2327this.RemainingTests = remainingTests;
21 references to RemainingTests
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
233var testSequence = seq.RemainingTests; 2287Tests.OrSequence a => Tests.AndSequence.Create(NegateSequenceElements(a.RemainingTests)), // use demorgan to prefer and sequences 2340var trueBuilder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2341var falseBuilder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2342foreach (var other in RemainingTests) 2354var builder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2355foreach (var test in RemainingTests) 2362var builder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2363foreach (var test in RemainingTests) 2369this == obj || obj is SequenceTests other && this.GetType() == other.GetType() && RemainingTests.SequenceEqual(other.RemainingTests); 2372int length = this.RemainingTests.Length; 2374value = Hash.Combine(Hash.CombineValues(this.RemainingTests), value); 2410var testsToInsert = seq.RemainingTests; 2431if (RemainingTests[0] is One { Test: { Kind: BoundKind.DagNonNullTest } planA }) 2433switch (RemainingTests[1]) 2450return RemainingTests[0].ComputeSelectedTest(); 2454return $"AND({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})"; 2465public override BoundDagTest ComputeSelectedTest() => this.RemainingTests[0].ComputeSelectedTest(); 2491var testsToInsert = seq.RemainingTests; 2508return $"OR({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})";