7 instantiations of CandidateAnalysisResult
Microsoft.CodeAnalysis.VisualBasic (7)
Semantics\OverloadResolution.vb (7)
3793results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.HasUnsupportedMetadata)) 3798results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.HasUseSiteError)) 3803results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.BadGenericArity)) 3810Dim candidateAnalysis As New CandidateAnalysisResult(ConstructIfNeedTo(candidate.Candidate, typeArguments), CandidateAnalysisResultState.ArgumentCountMismatch) 3824candidateAnalysis = New CandidateAnalysisResult(candidate.Candidate.Construct(typeArguments)) 3826candidateAnalysis = New CandidateAnalysisResult(candidate.Candidate) 3866results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.Ambiguous))
111 references to CandidateAnalysisResult
Microsoft.CodeAnalysis.VisualBasic (111)
Binding\Binder_Delegates.vb (3)
544Dim bestCandidates = ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult).GetInstance() 618analysisResult As OverloadResolution.CandidateAnalysisResult, 772bestResult As OverloadResolution.CandidateAnalysisResult,
Binding\Binder_Invocation.vb (9)
827bestResult As OverloadResolution.CandidateAnalysisResult, 1233Dim bestCandidates = ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult).GetInstance() 1267bestCandidates As ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult), 1342bestCandidates As ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult), 1370Dim singleCandidateAnalysisResult As OverloadResolution.CandidateAnalysisResult = Nothing 1673bestCandidates As ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult), 1828candidates As ArrayBuilder(Of OverloadResolution.CandidateAnalysisResult), 1981ByRef candidateAnalysisResult As OverloadResolution.CandidateAnalysisResult, 2627ByRef candidate As OverloadResolution.CandidateAnalysisResult,
Binding\Binder_Operators.vb (3)
600Dim bestCandidate As OverloadResolution.CandidateAnalysisResult = userDefinedOperator.BestResult.Value 679Dim bitwiseAnalysis As OverloadResolution.CandidateAnalysisResult = bitwiseOperator.BestResult.Value 1251Dim bestCandidate As OverloadResolution.CandidateAnalysisResult = userDefinedOperator.BestResult.Value
Compilation\MethodResolutionResult.vb (2)
42Private ReadOnly _candidate As OverloadResolution.CandidateAnalysisResult 45Friend Sub New(candidate As OverloadResolution.CandidateAnalysisResult, isValid As Boolean)
Semantics\Operators.vb (3)
3154Return New OverloadResolutionResult(ImmutableArray(Of CandidateAnalysisResult).Empty, 3159Return New OverloadResolutionResult(ImmutableArray(Of CandidateAnalysisResult).Empty, False, False, asyncLambdaSubToFunctionMismatch:=Nothing) 3166Dim candidates = ArrayBuilder(Of CandidateAnalysisResult).GetInstance()
Semantics\OverloadResolution.vb (91)
728Private ReadOnly _bestResult As CandidateAnalysisResult? 729Private ReadOnly _allResults As ImmutableArray(Of CandidateAnalysisResult) 735Public Sub New(allResults As ImmutableArray(Of CandidateAnalysisResult), resolutionIsLateBound As Boolean, 750Public ReadOnly Property Candidates As ImmutableArray(Of CandidateAnalysisResult) 757Public ReadOnly Property BestResult As CandidateAnalysisResult? 778Private Shared Function GetBestResult(allResults As ImmutableArray(Of CandidateAnalysisResult)) As CandidateAnalysisResult? 779Dim best As CandidateAnalysisResult? = Nothing 895Dim candidates = ArrayBuilder(Of CandidateAnalysisResult).GetInstance() 976Private Shared Function ReportOverloadResolutionFailedOrLateBound(candidates As ArrayBuilder(Of CandidateAnalysisResult), 1016Dim results = ArrayBuilder(Of CandidateAnalysisResult).GetInstance() 1045candidates As ArrayBuilder(Of CandidateAnalysisResult) 1064candidates As ArrayBuilder(Of CandidateAnalysisResult), 1191candidates As ArrayBuilder(Of CandidateAnalysisResult) 1198Dim current As CandidateAnalysisResult = candidates(i) 1227candidates As ArrayBuilder(Of CandidateAnalysisResult), 1268Dim contender As CandidateAnalysisResult = candidates(i) 1301Private Shared Function CountApplicableCandidates(candidates As ArrayBuilder(Of CandidateAnalysisResult)) As Integer 1319candidates As ArrayBuilder(Of CandidateAnalysisResult), 1355candidates As ArrayBuilder(Of CandidateAnalysisResult), 1362Dim mightBeTheMostApplicable As CandidateAnalysisResult = Nothing 1371Dim contender As CandidateAnalysisResult = candidates(i) 1403Dim contender As CandidateAnalysisResult = candidates(i) 1431candidates As ArrayBuilder(Of CandidateAnalysisResult), 1483left As CandidateAnalysisResult, 1484right As CandidateAnalysisResult, 1583left As CandidateAnalysisResult, right As CandidateAnalysisResult, 1621candidates As ArrayBuilder(Of CandidateAnalysisResult), 1630Dim current As CandidateAnalysisResult = candidates(i) 1647Dim current As CandidateAnalysisResult = candidates(i) 1681left As CandidateAnalysisResult, right As CandidateAnalysisResult, 1707candidates As ArrayBuilder(Of CandidateAnalysisResult), 1724Dim current As CandidateAnalysisResult = candidates(i) 1778Dim left As CandidateAnalysisResult = candidates(indexesOfApplicableCandidates(i)) 1785Dim right As CandidateAnalysisResult = candidates(indexesOfApplicableCandidates(j)) 1857Dim current As CandidateAnalysisResult = candidates(i) 1874Dim current As CandidateAnalysisResult = candidates(i) 1900Private ReadOnly _candidates As ArrayBuilder(Of CandidateAnalysisResult) 1902Public Sub New(candidates As ArrayBuilder(Of CandidateAnalysisResult)) 1915ByRef left As CandidateAnalysisResult, 1916ByRef right As CandidateAnalysisResult, 2172candidates As ArrayBuilder(Of CandidateAnalysisResult), 2187Dim left As CandidateAnalysisResult = candidates(i) 2203Dim right As CandidateAnalysisResult = candidates(j) 2224ByRef left As CandidateAnalysisResult, 2225ByRef right As CandidateAnalysisResult, 2328candidates As ArrayBuilder(Of CandidateAnalysisResult), 2352Dim current As CandidateAnalysisResult = candidates(i) 2359Dim contender As CandidateAnalysisResult = candidates(i + 1) 2383Dim current As CandidateAnalysisResult = candidates(i) 2390Dim contender As CandidateAnalysisResult = candidates(i + 1) 2464Dim current As CandidateAnalysisResult = candidates(i) 2495Dim first As CandidateAnalysisResult = candidates(i) 2499Dim second As CandidateAnalysisResult = candidates(j) 2556candidates As ArrayBuilder(Of CandidateAnalysisResult) 2561Dim current As CandidateAnalysisResult = candidates(i) 2587candidates As ArrayBuilder(Of CandidateAnalysisResult), 2604Dim current As CandidateAnalysisResult = candidates(i) 2633Dim current As CandidateAnalysisResult = candidates(i) 2672ByRef candidate As CandidateAnalysisResult, 2854ByRef candidate As CandidateAnalysisResult, 3201ByRef candidate As CandidateAnalysisResult, 3280ByRef candidate As CandidateAnalysisResult, 3488results As ArrayBuilder(Of CandidateAnalysisResult), 3778results As ArrayBuilder(Of CandidateAnalysisResult), 3821Dim candidateAnalysis As CandidateAnalysisResult 3875results As ArrayBuilder(Of CandidateAnalysisResult), 3876newCandidate As CandidateAnalysisResult, 3912results As ArrayBuilder(Of CandidateAnalysisResult), 3913newCandidate As CandidateAnalysisResult, 3929Dim existingCandidate As CandidateAnalysisResult = results(i) 4122existingCandidate As CandidateAnalysisResult, newCandidate As CandidateAnalysisResult, 4162left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4199left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4398left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4598left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4735left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4773left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4800ByRef candidate As CandidateAnalysisResult, 4815ByRef candidate As CandidateAnalysisResult, 4843ByRef candidate As CandidateAnalysisResult, 4853ByRef candidate As CandidateAnalysisResult,