7 instantiations of CandidateAnalysisResult
Microsoft.CodeAnalysis.VisualBasic (7)
Semantics\OverloadResolution.vb (7)
4159results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.HasUnsupportedMetadata)) 4164results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.HasUseSiteError)) 4169results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.BadGenericArity)) 4176Dim candidateAnalysis As New CandidateAnalysisResult(ConstructIfNeedTo(candidate.Candidate, typeArguments), CandidateAnalysisResultState.ArgumentCountMismatch) 4190candidateAnalysis = New CandidateAnalysisResult(candidate.Candidate.Construct(typeArguments)) 4192candidateAnalysis = New CandidateAnalysisResult(candidate.Candidate) 4232results.Add(New CandidateAnalysisResult(candidate.Candidate, CandidateAnalysisResultState.Ambiguous))
124 references to CandidateAnalysisResult
Microsoft.CodeAnalysis.VisualBasic (124)
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 (104)
776Private ReadOnly _bestResult As CandidateAnalysisResult? 777Private ReadOnly _allResults As ImmutableArray(Of CandidateAnalysisResult) 783Public Sub New(allResults As ImmutableArray(Of CandidateAnalysisResult), resolutionIsLateBound As Boolean, 798Public ReadOnly Property Candidates As ImmutableArray(Of CandidateAnalysisResult) 805Public ReadOnly Property BestResult As CandidateAnalysisResult? 826Private Shared Function GetBestResult(allResults As ImmutableArray(Of CandidateAnalysisResult)) As CandidateAnalysisResult? 827Dim best As CandidateAnalysisResult? = Nothing 943Dim candidates = ArrayBuilder(Of CandidateAnalysisResult).GetInstance() 1054Private Shared Function ReportOverloadResolutionFailedOrLateBound(candidates As ArrayBuilder(Of CandidateAnalysisResult), 1095Dim results = ArrayBuilder(Of CandidateAnalysisResult).GetInstance() 1135candidates As ArrayBuilder(Of CandidateAnalysisResult) 1154candidates As ArrayBuilder(Of CandidateAnalysisResult), 1299candidates As ArrayBuilder(Of CandidateAnalysisResult), 1307Dim current As CandidateAnalysisResult = candidates(i) 1364candidates As ArrayBuilder(Of CandidateAnalysisResult), 1373Dim existingCandidate As CandidateAnalysisResult = candidates(i) 1389Dim newCandidate As CandidateAnalysisResult = candidates(j) 1428existingCandidate As CandidateAnalysisResult, newCandidate As CandidateAnalysisResult, 1551candidates As ArrayBuilder(Of CandidateAnalysisResult) 1558Dim current As CandidateAnalysisResult = candidates(i) 1587candidates As ArrayBuilder(Of CandidateAnalysisResult), 1628Dim contender As CandidateAnalysisResult = candidates(i) 1661Private Shared Function CountApplicableCandidates(candidates As ArrayBuilder(Of CandidateAnalysisResult)) As Integer 1679candidates As ArrayBuilder(Of CandidateAnalysisResult), 1715candidates As ArrayBuilder(Of CandidateAnalysisResult), 1722Dim mightBeTheMostApplicable As CandidateAnalysisResult = Nothing 1731Dim contender As CandidateAnalysisResult = candidates(i) 1763Dim contender As CandidateAnalysisResult = candidates(i) 1791candidates As ArrayBuilder(Of CandidateAnalysisResult), 1843left As CandidateAnalysisResult, 1844right As CandidateAnalysisResult, 1943left As CandidateAnalysisResult, right As CandidateAnalysisResult, 1981candidates As ArrayBuilder(Of CandidateAnalysisResult), 1990Dim current As CandidateAnalysisResult = candidates(i) 2007Dim current As CandidateAnalysisResult = candidates(i) 2041left As CandidateAnalysisResult, right As CandidateAnalysisResult, 2067candidates As ArrayBuilder(Of CandidateAnalysisResult), 2084Dim current As CandidateAnalysisResult = candidates(i) 2138Dim left As CandidateAnalysisResult = candidates(indexesOfApplicableCandidates(i)) 2145Dim right As CandidateAnalysisResult = candidates(indexesOfApplicableCandidates(j)) 2217Dim current As CandidateAnalysisResult = candidates(i) 2234Dim current As CandidateAnalysisResult = candidates(i) 2260Private ReadOnly _candidates As ArrayBuilder(Of CandidateAnalysisResult) 2262Public Sub New(candidates As ArrayBuilder(Of CandidateAnalysisResult)) 2275ByRef left As CandidateAnalysisResult, 2276ByRef right As CandidateAnalysisResult, 2532candidates As ArrayBuilder(Of CandidateAnalysisResult), 2547Dim left As CandidateAnalysisResult = candidates(i) 2563Dim right As CandidateAnalysisResult = candidates(j) 2584ByRef left As CandidateAnalysisResult, 2585ByRef right As CandidateAnalysisResult, 2688candidates As ArrayBuilder(Of CandidateAnalysisResult), 2712Dim current As CandidateAnalysisResult = candidates(i) 2719Dim contender As CandidateAnalysisResult = candidates(i + 1) 2743Dim current As CandidateAnalysisResult = candidates(i) 2750Dim contender As CandidateAnalysisResult = candidates(i + 1) 2824Dim current As CandidateAnalysisResult = candidates(i) 2855Dim first As CandidateAnalysisResult = candidates(i) 2859Dim second As CandidateAnalysisResult = candidates(j) 2916candidates As ArrayBuilder(Of CandidateAnalysisResult) 2921Dim current As CandidateAnalysisResult = candidates(i) 2947candidates As ArrayBuilder(Of CandidateAnalysisResult), 2964Dim current As CandidateAnalysisResult = candidates(i) 2993Dim current As CandidateAnalysisResult = candidates(i) 3032ByRef candidate As CandidateAnalysisResult, 3214ByRef candidate As CandidateAnalysisResult, 3561ByRef candidate As CandidateAnalysisResult, 3640ByRef candidate As CandidateAnalysisResult, 3848results As ArrayBuilder(Of CandidateAnalysisResult), 4143results As ArrayBuilder(Of CandidateAnalysisResult), 4187Dim candidateAnalysis As CandidateAnalysisResult 4241results As ArrayBuilder(Of CandidateAnalysisResult), 4242newCandidate As CandidateAnalysisResult, 4279results As ArrayBuilder(Of CandidateAnalysisResult), 4280newCandidate As CandidateAnalysisResult, 4297Dim existingCandidate As CandidateAnalysisResult = results(i) 4462Private Shared Function CombineCandidatesCompareVirtualSignature(newCandidate As CandidateAnalysisResult, existingCandidate As CandidateAnalysisResult, argumentCount As Integer) As Boolean 4489Private Shared Function CombineCandidatesCompareDeclaredSignature(newCandidate As CandidateAnalysisResult, existingCandidate As CandidateAnalysisResult) As Boolean 4504existingCandidate As CandidateAnalysisResult, newCandidate As CandidateAnalysisResult, 4522existingCandidate As CandidateAnalysisResult, newCandidate As CandidateAnalysisResult, 4562left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4599left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4798left As CandidateAnalysisResult, right As CandidateAnalysisResult, 4998left As CandidateAnalysisResult, right As CandidateAnalysisResult, 5135left As CandidateAnalysisResult, right As CandidateAnalysisResult, 5173left As CandidateAnalysisResult, right As CandidateAnalysisResult, 5200ByRef candidate As CandidateAnalysisResult, 5215ByRef candidate As CandidateAnalysisResult, 5243ByRef candidate As CandidateAnalysisResult, 5253ByRef candidate As CandidateAnalysisResult,