1 write to RemainingTests
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2173this.RemainingTests = remainingTests;
21 references to RemainingTests
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
230var testSequence = seq.RemainingTests; 2133Tests.OrSequence a => Tests.AndSequence.Create(NegateSequenceElements(a.RemainingTests)), // use demorgan to prefer and sequences 2186var trueBuilder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2187var falseBuilder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2188foreach (var other in RemainingTests) 2200var builder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2201foreach (var test in RemainingTests) 2208var builder = ArrayBuilder<Tests>.GetInstance(RemainingTests.Length); 2209foreach (var test in RemainingTests) 2215this == obj || obj is SequenceTests other && this.GetType() == other.GetType() && RemainingTests.SequenceEqual(other.RemainingTests); 2218int length = this.RemainingTests.Length; 2220value = Hash.Combine(Hash.CombineValues(this.RemainingTests), value); 2256var testsToInsert = seq.RemainingTests; 2277if (RemainingTests[0] is One { Test: { Kind: BoundKind.DagNonNullTest } planA }) 2279switch (RemainingTests[1]) 2296return RemainingTests[0].ComputeSelectedTest(); 2300return $"AND({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})"; 2311public override BoundDagTest ComputeSelectedTest() => this.RemainingTests[0].ComputeSelectedTest(); 2337var testsToInsert = seq.RemainingTests; 2354return $"OR({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})";