23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2375private readonly BestSymbolLocation _location; 2393return _location == BestSymbolLocation.FromSourceModule; 2401return _location == BestSymbolLocation.FromAddedModule; 2409return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2417return _location == BestSymbolLocation.FromFile; 2425return _location == BestSymbolLocation.None; 2433return _location == BestSymbolLocation.FromCorLibrary; 2437public BestSymbolInfo(BestSymbolLocation location, int index) 2439Debug.Assert(location != BestSymbolLocation.None); 2464public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2467return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2483BestSymbolLocation location; 2487location = BestSymbolLocation.None; 2490var current = GetLocation(compilation, ns); 2494if (location == BestSymbolLocation.FromSourceModule) 2520private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2524return BestSymbolLocation.FromFile; 2531BestSymbolLocation.FromSourceModule : 2532BestSymbolLocation.FromAddedModule; 2537BestSymbolLocation.FromCorLibrary : 2538BestSymbolLocation.FromReferencedAssembly;