23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2443private readonly BestSymbolLocation _location; 2461return _location == BestSymbolLocation.FromSourceModule; 2469return _location == BestSymbolLocation.FromAddedModule; 2477return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2485return _location == BestSymbolLocation.FromFile; 2493return _location == BestSymbolLocation.None; 2501return _location == BestSymbolLocation.FromCorLibrary; 2505public BestSymbolInfo(BestSymbolLocation location, int index) 2507Debug.Assert(location != BestSymbolLocation.None); 2532public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2535return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2551BestSymbolLocation location; 2555location = BestSymbolLocation.None; 2558var current = GetLocation(compilation, ns); 2562if (location == BestSymbolLocation.FromSourceModule) 2588private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2592return BestSymbolLocation.FromFile; 2599BestSymbolLocation.FromSourceModule : 2600BestSymbolLocation.FromAddedModule; 2605BestSymbolLocation.FromCorLibrary : 2606BestSymbolLocation.FromReferencedAssembly;