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
)
1175
if (!best.
HasValue
)
1493
if (!best.
HasValue
)
2060
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2063
if (!possiblyBest.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
2170
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2193
if (possiblyBest.
HasValue
)
2209
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)