1 write to Candidate
Microsoft.CodeAnalysis.VisualBasic (1)
Semantics\OverloadResolution.vb (1)
4048
Me.
Candidate
= candidate
22 references to Candidate
Microsoft.CodeAnalysis.VisualBasic (22)
Semantics\OverloadResolution.vb (22)
3876
If info.
Candidate
Is Nothing Then
3880
If info.
Candidate
.UnderlyingSymbol.ContainingModule Is sourceModule OrElse
3881
info.
Candidate
.IsExtensionMethod Then
3895
Dim container As Symbol = info.
Candidate
.UnderlyingSymbol.ContainingSymbol
3913
If info.
Candidate
Is Nothing Then
3937
If info.
Candidate
Is Nothing OrElse info.State = CandidateAnalysisResultState.Ambiguous Then
3942
Dim isExtensionMethod As Boolean = info.
Candidate
.IsExtensionMethod
3944
Dim firstSymbol As Symbol = info.
Candidate
.UnderlyingSymbol.OriginalDefinition
3952
If info2.
Candidate
Is Nothing OrElse info2.State = CandidateAnalysisResultState.Ambiguous Then
3957
Debug.Assert(isExtensionMethod = info2.
Candidate
.IsExtensionMethod)
3959
Dim secondSymbol As Symbol = info2.
Candidate
.UnderlyingSymbol.OriginalDefinition
3991
info = New QuickApplicabilityInfo(info.
Candidate
, CandidateAnalysisResultState.Ambiguous)
3993
quickInfo(l) = New QuickApplicabilityInfo(info2.
Candidate
, CandidateAnalysisResultState.Ambiguous)
4014
If info2.
Candidate
IsNot Nothing AndAlso info2.State = CandidateAnalysisResultState.Ambiguous Then
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
)
4218
candidateAnalysis.ExpandedParamArrayArgumentsUsed = Math.Max(arguments.Length - candidate.
Candidate
.ParameterCount + 1, 0)
4232
results.Add(New CandidateAnalysisResult(candidate.
Candidate
, CandidateAnalysisResultState.Ambiguous))