34 references to BestResult
Microsoft.CodeAnalysis.VisualBasic (34)
Binding\Binder_Attributes.vb (2)
296If Not results.BestResult.HasValue Then 317Dim methodResult = results.BestResult.Value
Binding\Binder_Conversions.vb (1)
377If isTrueOperator.BestResult.HasValue Then
Binding\Binder_Delegates.vb (2)
519If resolutionResult.BestResult.HasValue Then 522resolutionResult.BestResult.Value,
Binding\Binder_Invocation.vb (2)
755If Not results.BestResult.HasValue Then 814results.BestResult.Value,
Binding\Binder_ObjectInitializer.vb (2)
411If Not results.BestResult.HasValue Then 468Dim methodResult = results.BestResult.Value
Binding\Binder_Operators.vb (12)
301Dim bestCandidate As OverloadResolution.Candidate = If(userDefinedOperator.BestResult.HasValue, 302userDefinedOperator.BestResult.Value.Candidate, 599If userDefinedOperator.BestResult.HasValue Then 600Dim bestCandidate As OverloadResolution.CandidateAnalysisResult = userDefinedOperator.BestResult.Value 671If Not bitwiseOperator.BestResult.HasValue Then 679Dim bitwiseAnalysis As OverloadResolution.CandidateAnalysisResult = bitwiseOperator.BestResult.Value 719If Not leftCheckOperator.BestResult.HasValue Then 732Dim checkCandidate As OverloadResolution.Candidate = leftCheckOperator.BestResult.Value.Candidate 1165Dim bestCandidate As OverloadResolution.Candidate = If(userDefinedOperator.BestResult.HasValue, 1166userDefinedOperator.BestResult.Value.Candidate, 1250If userDefinedOperator.BestResult.HasValue Then 1251Dim bestCandidate As OverloadResolution.CandidateAnalysisResult = userDefinedOperator.BestResult.Value
Binding\Binder_Query.vb (6)
1993If results.BestResult.HasValue Then 1994Dim method = DirectCast(results.BestResult.Value.Candidate.UnderlyingSymbol, MethodSymbol) 2067If results.BestResult.HasValue Then 2068Dim method = DirectCast(results.BestResult.Value.Candidate.UnderlyingSymbol, MethodSymbol) 4654If Not results.BestResult.HasValue Then 4668arguments, results.BestResult.Value,
Binding\Binder_Statements.vb (2)
3290If userDefinedOperator.ResolutionIsLateBound OrElse Not userDefinedOperator.BestResult.HasValue Then 3295Dim bestCandidate As OverloadResolution.Candidate = userDefinedOperator.BestResult.Value.Candidate
Semantics\Conversions.vb (3)
1504If results.BestResult.HasValue Then 1508If results.BestResult.Value.Candidate.IsLifted Then 1512Debug.Assert(Not results.BestResult.Value.RequiresNarrowingConversion)
Semantics\Operators.vb (2)
535If Not userDefinedOperator.BestResult.HasValue AndAlso userDefinedOperator.Candidates.Length = 0 Then 905ElseIf Not userDefinedOperator.BestResult.HasValue AndAlso userDefinedOperator.Candidates.Length = 0 Then