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