7 references to HasValue
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Operators.cs (6)
136
if (!best.
HasValue
)
857
if (!best.
HasValue
)
1122
if (!best.
HasValue
)
1539
if (possiblyBest.
HasValue
)
1555
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
1558
if (possiblyBest is {
HasValue
: true, Signature: { Method: { } bestMethod } })
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)