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