11 references to BestIndexKind
Microsoft.CodeAnalysis.CSharp (11)
Binder\Semantics\Conversions\BestIndex.cs (5)
18
internal readonly
BestIndexKind
Kind;
23
public static BestIndex None() { return new BestIndex(
BestIndexKind
.None, 0, 0, 0); }
24
public static BestIndex HasBest(int best) { return new BestIndex(
BestIndexKind
.Best, best, 0, 0); }
25
public static BestIndex IsAmbiguous(int ambig1, int ambig2) { return new BestIndex(
BestIndexKind
.Ambiguous, 0, ambig1, ambig2); }
27
private BestIndex(
BestIndexKind
kind, int best, int ambig1, int ambig2)
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (6)
479
if (bestUnlifted.Kind ==
BestIndexKind
.Best)
483
else if (bestUnlifted.Kind ==
BestIndexKind
.Ambiguous)
508
if (bestHalfLifted.Kind ==
BestIndexKind
.Best)
512
else if (bestHalfLifted.Kind ==
BestIndexKind
.Ambiguous)
526
if (bestFullyLifted.Kind ==
BestIndexKind
.Best)
530
else if (bestFullyLifted.Kind ==
BestIndexKind
.Ambiguous)