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