23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2330private readonly BestSymbolLocation _location; 2348return _location == BestSymbolLocation.FromSourceModule; 2356return _location == BestSymbolLocation.FromAddedModule; 2364return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2372return _location == BestSymbolLocation.FromFile; 2380return _location == BestSymbolLocation.None; 2388return _location == BestSymbolLocation.FromCorLibrary; 2392public BestSymbolInfo(BestSymbolLocation location, int index) 2394Debug.Assert(location != BestSymbolLocation.None); 2419public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2422return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2438BestSymbolLocation location; 2442location = BestSymbolLocation.None; 2445var current = GetLocation(compilation, ns); 2449if (location == BestSymbolLocation.FromSourceModule) 2475private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2479return BestSymbolLocation.FromFile; 2486BestSymbolLocation.FromSourceModule : 2487BestSymbolLocation.FromAddedModule; 2492BestSymbolLocation.FromCorLibrary : 2493BestSymbolLocation.FromReferencedAssembly;