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
)
1138
if (!best.
HasValue
)
1441
if (!best.
HasValue
)
1976
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
1979
if (!possiblyBest.
HasValue
&& resultKind != LookupResultKind.Ambiguous)
2068
Debug.Assert(possiblyBest.
HasValue
== (resultKind is LookupResultKind.Viable));
2091
if (possiblyBest.
HasValue
)
2107
resultKind = possiblyBest.
HasValue
? LookupResultKind.Viable : LookupResultKind.Empty;
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
85
if (this.Best.
HasValue
)