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