1 write to Cases
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
1907
Cases
= default;
20 references to Cases
Microsoft.CodeAnalysis.CSharp (20)
Binder\DecisionDagBuilder.cs (20)
897
if (state.
Cases
.Count == 0)
905
StateForCase first = state.
Cases
[0];
921
var stateWhenFails = state.
Cases
.RemoveAt(0);
941
state.TrueBranch = uniquifyState(RemoveEvaluation(state.
Cases
, e), state.RemainingValues.SetItem(e.Target, currentValues));
944
state.TrueBranch = uniquifyState(RemoveEvaluation(state.
Cases
, e), state.RemainingValues);
1005
if (state.
Cases
.Count == 0)
1011
StateForCase first = state.
Cases
[0];
1093
var cases = state.
Cases
;
1680
bool isFail = state.
Cases
.Count == 0;
1681
bool starred = isFail || state.
Cases
.First().PatternIsSatisfied;
1686
foreach (StateForCase cd in state.
Cases
)
1906
Cases
.Free();
1924
return
Cases
[0].RemainingTests.ComputeSelectedTest();
1954
if (x.
Cases
.Count != y.
Cases
.Count)
1957
for (int i = 0, n = x.
Cases
.Count; i < n; i++)
1959
if (!x.
Cases
[i].Equals(y.
Cases
[i]))
1969
foreach (var value in x.
Cases
)
1972
return Hash.Combine(hashCode, x.
Cases
.Count);