7 references to HasValue
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Operators.cs (6)
124
if (!best.
HasValue
)
682
if (!best.
HasValue
)
946
if (!best.
HasValue
)
1312
if (possiblyBest.
HasValue
)
1328
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
1331
if (possiblyBest is {
HasValue
: true, Signature: { Method: { } bestMethod } })
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)