8 references to HasValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Operators.cs (5)
1441
if (possiblyBest.
HasValue
)
1473
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
1476
if (possiblyBest is {
HasValue
: true, Signature: { Method: { } bestMethod } })
2316
if (!best.
HasValue
)
2775
if (!best.
HasValue
)
Binder\Binder_Statements.cs (1)
2707
if (!best.
HasValue
)
Binder\Binder_TupleOperators.cs (1)
162
if (best.
HasValue
)
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)