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