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