2 instantiations of StateForCase
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (2)
192
return 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
135
using var builder = TemporaryArray<
StateForCase
>.Empty;
148
using var builder = TemporaryArray<
StateForCase
>.GetInstance(switchSections.Length);
173
using var builder = TemporaryArray<
StateForCase
>.GetInstance(switchArms.Length);
183
private
StateForCase
MakeTestsForPattern(
737
private BoundDecisionDag MakeBoundDecisionDag(SyntaxNode syntax, ref TemporaryArray<
StateForCase
> cases)
814
ref TemporaryArray<
StateForCase
> casesForRootNode,
828
DagState uniquifyState(FrozenArrayBuilder<
StateForCase
> cases, ImmutableDictionary<BoundDagTemp, IValueSet> remainingValues)
874
var rewrittenCases = ArrayBuilder<
StateForCase
>.GetInstance(casesForRootNode.Count);
886
FrozenArrayBuilder<
StateForCase
>(rewrittenCases),
905
StateForCase
first = state.Cases[0];
1011
StateForCase
first = state.Cases[0];
1071
StateForCase
stateForCase,
1075
out
StateForCase
whenTrue,
1076
out
StateForCase
whenFalse,
1087
out FrozenArrayBuilder<
StateForCase
> whenTrue,
1089
out FrozenArrayBuilder<
StateForCase
> whenFalse,
1094
var whenTrueBuilder = ArrayBuilder<
StateForCase
>.GetInstance(cases.Count);
1095
var whenFalseBuilder = ArrayBuilder<
StateForCase
>.GetInstance(cases.Count);
1109
out
var
whenTrueState, out
var
whenFalseState, ref foundExplicitNullTest);
1206
private static FrozenArrayBuilder<
StateForCase
> RemoveEvaluation(FrozenArrayBuilder<
StateForCase
> cases, BoundDagEvaluation e)
1208
var builder = ArrayBuilder<
StateForCase
>.GetInstance(cases.Count);
1686
foreach (
StateForCase
cd in state.Cases)
1711
string dumpStateForCase(
StateForCase
cd)
1859
public FrozenArrayBuilder<
StateForCase
> Cases { get; private set; }
1883
public static DagState GetInstance(FrozenArrayBuilder<
StateForCase
> cases, ImmutableDictionary<BoundDagTemp, IValueSet> remainingValues)
2030
public bool Equals(
StateForCase
other)
2043
public
StateForCase
WithRemainingTests(Tests newRemainingTests)
2051
public
StateForCase
RewriteNestedLengthTests()