11 references to HasValue
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (10)
155
Debug.Assert(best.
HasValue
== (resultKind is LookupResultKind.Viable));
158
if (!best.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
187
if (!best.
HasValue
)
1145
if (!best.
HasValue
)
1448
if (!best.
HasValue
)
1994
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
1997
if (!possiblyBest.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
2088
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2111
if (possiblyBest.
HasValue
)
2127
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)