2 writes to RemainingValues
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (2)
1908RemainingValues = null!; 1929this.RemainingValues = newRemainingValues;
12 references to RemainingValues
Microsoft.CodeAnalysis.CSharp (12)
Binder\DecisionDagBuilder.cs (12)
846if (existingState.RemainingValues.TryGetValue(dagTemp, out var existingValuesForTemp)) 853if (existingState.RemainingValues.Count != newRemainingValues.Count || 854!existingState.RemainingValues.All(kv => newRemainingValues.TryGetValue(kv.Key, out IValueSet? values) && kv.Value.Equals(values))) 922state.FalseBranch = uniquifyState(stateWhenFails, state.RemainingValues); 930case BoundDagAssignmentEvaluation e when state.RemainingValues.TryGetValue(e.Input, out IValueSet? currentValues): 935if (state.RemainingValues.TryGetValue(e.Target, out IValueSet? targetValues)) 941state.TrueBranch = uniquifyState(RemoveEvaluation(state.Cases, e), state.RemainingValues.SetItem(e.Target, currentValues)); 944state.TrueBranch = uniquifyState(RemoveEvaluation(state.Cases, e), state.RemainingValues); 1096(whenTrueValues, whenFalseValues, bool whenTruePossible, bool whenFalsePossible) = SplitValues(state.RemainingValues, test); 1485Debug.Assert(state.RemainingValues.ContainsKey(s1LengthTemp)); 1486var lengthValues = (IValueSet<int>)state.RemainingValues[s1LengthTemp]; 1683var remainingValues = state.RemainingValues.Select(kvp => $"{tempName(kvp.Key)}:{kvp.Value}");