1 write to Candidate
Microsoft.CodeAnalysis.VisualBasic (1)
Semantics\OverloadResolution.vb (1)
3683
Me.
Candidate
= candidate
22 references to Candidate
Microsoft.CodeAnalysis.VisualBasic (22)
Semantics\OverloadResolution.vb (22)
3515
If info.
Candidate
Is Nothing Then
3519
If info.
Candidate
.UnderlyingSymbol.ContainingModule Is sourceModule OrElse
3520
info.
Candidate
.IsExtensionMethod Then
3533
Dim container As Symbol = info.
Candidate
.UnderlyingSymbol.ContainingSymbol
3551
If info.
Candidate
Is Nothing Then
3575
If info.
Candidate
Is Nothing OrElse info.State = CandidateAnalysisResultState.Ambiguous Then
3580
Dim isExtensionMethod As Boolean = info.
Candidate
.IsExtensionMethod
3582
Dim firstSymbol As Symbol = info.
Candidate
.UnderlyingSymbol.OriginalDefinition
3590
If info2.
Candidate
Is Nothing OrElse info2.State = CandidateAnalysisResultState.Ambiguous Then
3595
Debug.Assert(isExtensionMethod = info2.
Candidate
.IsExtensionMethod)
3597
Dim secondSymbol As Symbol = info2.
Candidate
.UnderlyingSymbol.OriginalDefinition
3629
info = New QuickApplicabilityInfo(info.
Candidate
, CandidateAnalysisResultState.Ambiguous)
3631
quickInfo(l) = New QuickApplicabilityInfo(info2.
Candidate
, CandidateAnalysisResultState.Ambiguous)
3650
If info2.
Candidate
IsNot Nothing AndAlso info2.State = CandidateAnalysisResultState.Ambiguous Then
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
)
3852
candidateAnalysis.ExpandedParamArrayArgumentsUsed = Math.Max(arguments.Length - candidate.
Candidate
.ParameterCount + 1, 0)
3866
results.Add(New CandidateAnalysisResult(candidate.
Candidate
, CandidateAnalysisResultState.Ambiguous))