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
)
1179
if (!best.
HasValue
)
1501
if (!best.
HasValue
)
2071
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2074
if (!possiblyBest.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
2181
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2204
if (possiblyBest.
HasValue
)
2220
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)