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)
484
if (bestUnlifted.Kind ==
BestIndexKind
.Best)
488
else if (bestUnlifted.Kind ==
BestIndexKind
.Ambiguous)
513
if (bestHalfLifted.Kind ==
BestIndexKind
.Best)
517
else if (bestHalfLifted.Kind ==
BestIndexKind
.Ambiguous)
531
if (bestFullyLifted.Kind ==
BestIndexKind
.Best)
535
else if (bestFullyLifted.Kind ==
BestIndexKind
.Ambiguous)