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