23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2460private readonly BestSymbolLocation _location; 2478return _location == BestSymbolLocation.FromSourceModule; 2486return _location == BestSymbolLocation.FromAddedModule; 2494return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2502return _location == BestSymbolLocation.FromFile; 2510return _location == BestSymbolLocation.None; 2518return _location == BestSymbolLocation.FromCorLibrary; 2522public BestSymbolInfo(BestSymbolLocation location, int index) 2524Debug.Assert(location != BestSymbolLocation.None); 2549public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2552return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2568BestSymbolLocation location; 2572location = BestSymbolLocation.None; 2575var current = GetLocation(compilation, ns); 2579if (location == BestSymbolLocation.FromSourceModule) 2605private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2609return BestSymbolLocation.FromFile; 2616BestSymbolLocation.FromSourceModule : 2617BestSymbolLocation.FromAddedModule; 2622BestSymbolLocation.FromCorLibrary : 2623BestSymbolLocation.FromReferencedAssembly;