23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2454private readonly BestSymbolLocation _location; 2472return _location == BestSymbolLocation.FromSourceModule; 2480return _location == BestSymbolLocation.FromAddedModule; 2488return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2496return _location == BestSymbolLocation.FromFile; 2504return _location == BestSymbolLocation.None; 2512return _location == BestSymbolLocation.FromCorLibrary; 2516public BestSymbolInfo(BestSymbolLocation location, int index) 2518Debug.Assert(location != BestSymbolLocation.None); 2543public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2546return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2562BestSymbolLocation location; 2566location = BestSymbolLocation.None; 2569var current = GetLocation(compilation, ns); 2573if (location == BestSymbolLocation.FromSourceModule) 2599private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2603return BestSymbolLocation.FromFile; 2610BestSymbolLocation.FromSourceModule : 2611BestSymbolLocation.FromAddedModule; 2616BestSymbolLocation.FromCorLibrary : 2617BestSymbolLocation.FromReferencedAssembly;