1 write to Results
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
19this.Results = new ArrayBuilder<BinaryOperatorAnalysisResult>(10);
26 references to Results
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Operators.cs (2)
1330if (result.Results.Any()) 1333foreach (var analysisResult in result.Results)
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (1)
320result.Results.Add(BinaryOperatorAnalysisResult.Applicable(signature, leftConversion, rightConversion));
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (15)
24if (result.Results.Count > 0) 36Debug.Assert(result.Results.Count == 0); 58Debug.Assert(result.Results.Count == 0); 99hadApplicableCandidates = GetUserDefinedOperators(kind, isChecked, leftOperatorSourceOpt, left, right, result.Results, ref useSiteInfo); 102result.Results.Clear(); 114AddDistinctOperators(result.Results, rightOperators); 120Debug.Assert((result.Results.Count == 0) != hadApplicableCandidates); 125result.Results.Clear(); 152firstOperatorSourceOpt, firstSourceIsInterface, left, right, ref useSiteInfo, lookedInInterfaces, result.Results); 155result.Results.Clear(); 165AddDistinctOperators(result.Results, rightOperators); 193Debug.Assert((result.Results.Count == 0) != hadApplicableCandidates); 197result.Results.Clear(); 198GetAllBuiltInOperators(kind, isChecked, left, right, result.Results, ref useSiteInfo); 1072var candidates = result.Results;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (8)
24foreach (var result in Results) 38foreach (var result in Results) 59foreach (var result in Results) 79if (Results.Count == 0) 99foreach (var result in Results) 110for (int i = 0, n = this.Results.Count; i < n; i++) 112if (this.Results[i].Kind == kind) 137this.Results.Clear();