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