23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2456private readonly BestSymbolLocation _location; 2474return _location == BestSymbolLocation.FromSourceModule; 2482return _location == BestSymbolLocation.FromAddedModule; 2490return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2498return _location == BestSymbolLocation.FromFile; 2506return _location == BestSymbolLocation.None; 2514return _location == BestSymbolLocation.FromCorLibrary; 2518public BestSymbolInfo(BestSymbolLocation location, int index) 2520Debug.Assert(location != BestSymbolLocation.None); 2545public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2548return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2564BestSymbolLocation location; 2568location = BestSymbolLocation.None; 2571var current = GetLocation(compilation, ns); 2575if (location == BestSymbolLocation.FromSourceModule) 2601private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2605return BestSymbolLocation.FromFile; 2612BestSymbolLocation.FromSourceModule : 2613BestSymbolLocation.FromAddedModule; 2618BestSymbolLocation.FromCorLibrary : 2619BestSymbolLocation.FromReferencedAssembly;