1 write to Cases
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
1760
this.
Cases
= cases;
16 references to Cases
Microsoft.CodeAnalysis.CSharp (16)
Binder\DecisionDagBuilder.cs (16)
845
if (state.
Cases
.IsDefaultOrEmpty)
853
StateForCase first = state.
Cases
[0];
869
var stateWhenFails = state.
Cases
.RemoveAt(0);
889
state.TrueBranch = uniqifyState(RemoveEvaluation(state.
Cases
, e), state.RemainingValues.SetItem(e.Target, currentValues));
892
state.TrueBranch = uniqifyState(RemoveEvaluation(state.
Cases
, e), state.RemainingValues);
956
if (state.
Cases
.IsDefaultOrEmpty)
962
StateForCase first = state.
Cases
[0];
1044
ImmutableArray<StateForCase> cases = state.
Cases
;
1645
bool isFail = state.
Cases
.IsEmpty;
1646
bool starred = isFail || state.
Cases
.First().PatternIsSatisfied;
1651
foreach (StateForCase cd in state.
Cases
)
1784
return
Cases
[0].RemainingTests.ComputeSelectedTest();
1811
return x == y || x.
Cases
.SequenceEqual(y.
Cases
, (a, b) => a.Equals(b));
1816
return Hash.Combine(Hash.CombineValues(x.
Cases
), x.
Cases
.Length);