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