11 references to HasValue
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (10)
163
Debug.Assert(best.
HasValue
== (resultKind is LookupResultKind.Viable));
166
if (!best.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
196
if (!best.
HasValue
)
1177
if (!best.
HasValue
)
1499
if (!best.
HasValue
)
2069
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2072
if (!possiblyBest.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
2179
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2202
if (possiblyBest.
HasValue
)
2218
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)