1 write to ResultsBuilder
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
35
this.
ResultsBuilder
= new ArrayBuilder<MemberResolutionResult<TMember>>();
22 references to ResultsBuilder
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Invocation.cs (3)
952
resultWithSingleCandidate.
ResultsBuilder
.Add(methodResolutionResult);
984
for (int i = 0, n = overloadResolutionResult.
ResultsBuilder
.Count; i < n; i++)
986
var result = overloadResolutionResult.
ResultsBuilder
[i];
Binder\Semantics\OverloadResolution\OverloadResolution.cs (5)
105
var results = result.
ResultsBuilder
;
197
var results = result.
ResultsBuilder
;
235
var results = result.
ResultsBuilder
;
567
overloadResolutionResult.
ResultsBuilder
,
576
ReportUseSiteInfo(overloadResolutionResult.
ResultsBuilder
, ref useSiteInfo);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (14)
42
this.
ResultsBuilder
.Clear();
77
_bestResultState = TryGetBestResult(this.
ResultsBuilder
, out _bestResult);
106
return this.
ResultsBuilder
.ToImmutable();
119
foreach (var res in this.
ResultsBuilder
)
137
foreach (var res in this.
ResultsBuilder
)
388
foreach (MemberResolutionResult<TMember> result in this.
ResultsBuilder
)
1432
foreach (var res in this.
ResultsBuilder
)
1484
foreach (var res in this.
ResultsBuilder
)
1524
foreach (var result in this.
ResultsBuilder
)
1535
foreach (var result in this.
ResultsBuilder
)
1549
if (
ResultsBuilder
.Count == 0)
1559
else if (System.Linq.Enumerable.Count(
ResultsBuilder
, x => x.Result.IsValid) > 1)
1563
else if (System.Linq.Enumerable.Any(
ResultsBuilder
, x => (x.Result.Kind == MemberResolutionKind.TypeInferenceFailed) || (x.Result.Kind == MemberResolutionKind.TypeInferenceExtensionInstanceArgument)))
1569
foreach (var result in
ResultsBuilder
)