23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2423private readonly BestSymbolLocation _location; 2441return _location == BestSymbolLocation.FromSourceModule; 2449return _location == BestSymbolLocation.FromAddedModule; 2457return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2465return _location == BestSymbolLocation.FromFile; 2473return _location == BestSymbolLocation.None; 2481return _location == BestSymbolLocation.FromCorLibrary; 2485public BestSymbolInfo(BestSymbolLocation location, int index) 2487Debug.Assert(location != BestSymbolLocation.None); 2512public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2515return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2531BestSymbolLocation location; 2535location = BestSymbolLocation.None; 2538var current = GetLocation(compilation, ns); 2542if (location == BestSymbolLocation.FromSourceModule) 2568private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2572return BestSymbolLocation.FromFile; 2579BestSymbolLocation.FromSourceModule : 2580BestSymbolLocation.FromAddedModule; 2585BestSymbolLocation.FromCorLibrary : 2586BestSymbolLocation.FromReferencedAssembly;