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