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