8 references to HasValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Operators.cs (5)
1436
if (possiblyBest.
HasValue
)
1468
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
1471
if (possiblyBest is {
HasValue
: true, Signature: { Method: { } bestMethod } })
2311
if (!best.
HasValue
)
2770
if (!best.
HasValue
)
Binder\Binder_Statements.cs (1)
2704
if (!best.
HasValue
)
Binder\Binder_TupleOperators.cs (1)
162
if (best.
HasValue
)
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)