2 instantiations of StateForCase
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (2)
192return new StateForCase(index, syntax, tests, bindings, whenClause, label); 2047: new StateForCase(Index, Syntax, newRemainingTests, Bindings, WhenClause, CaseLabel);
31 references to StateForCase
Microsoft.CodeAnalysis.CSharp (31)
Binder\DecisionDagBuilder.cs (31)
45/// cref="StateForCase"/>. When we have computed <see cref="DagState"/> descriptions for all of the states, we 135using var builder = TemporaryArray<StateForCase>.Empty; 148using var builder = TemporaryArray<StateForCase>.GetInstance(switchSections.Length); 173using var builder = TemporaryArray<StateForCase>.GetInstance(switchArms.Length); 183private StateForCase MakeTestsForPattern( 737private BoundDecisionDag MakeBoundDecisionDag(SyntaxNode syntax, ref TemporaryArray<StateForCase> cases) 814ref TemporaryArray<StateForCase> casesForRootNode, 828DagState uniquifyState(FrozenArrayBuilder<StateForCase> cases, ImmutableDictionary<BoundDagTemp, IValueSet> remainingValues) 874var rewrittenCases = ArrayBuilder<StateForCase>.GetInstance(casesForRootNode.Count); 886FrozenArrayBuilder<StateForCase>(rewrittenCases), 905StateForCase first = state.Cases[0]; 1011StateForCase first = state.Cases[0]; 1071StateForCase stateForCase, 1075out StateForCase whenTrue, 1076out StateForCase whenFalse, 1087out FrozenArrayBuilder<StateForCase> whenTrue, 1089out FrozenArrayBuilder<StateForCase> whenFalse, 1094var whenTrueBuilder = ArrayBuilder<StateForCase>.GetInstance(cases.Count); 1095var whenFalseBuilder = ArrayBuilder<StateForCase>.GetInstance(cases.Count); 1109out var whenTrueState, out var whenFalseState, ref foundExplicitNullTest); 1206private static FrozenArrayBuilder<StateForCase> RemoveEvaluation(FrozenArrayBuilder<StateForCase> cases, BoundDagEvaluation e) 1208var builder = ArrayBuilder<StateForCase>.GetInstance(cases.Count); 1686foreach (StateForCase cd in state.Cases) 1711string dumpStateForCase(StateForCase cd) 1859public FrozenArrayBuilder<StateForCase> Cases { get; private set; } 1883public static DagState GetInstance(FrozenArrayBuilder<StateForCase> cases, ImmutableDictionary<BoundDagTemp, IValueSet> remainingValues) 2030public bool Equals(StateForCase other) 2043public StateForCase WithRemainingTests(Tests newRemainingTests) 2051public StateForCase RewriteNestedLengthTests()