23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2383private readonly BestSymbolLocation _location; 2401return _location == BestSymbolLocation.FromSourceModule; 2409return _location == BestSymbolLocation.FromAddedModule; 2417return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2425return _location == BestSymbolLocation.FromFile; 2433return _location == BestSymbolLocation.None; 2441return _location == BestSymbolLocation.FromCorLibrary; 2445public BestSymbolInfo(BestSymbolLocation location, int index) 2447Debug.Assert(location != BestSymbolLocation.None); 2472public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2475return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2491BestSymbolLocation location; 2495location = BestSymbolLocation.None; 2498var current = GetLocation(compilation, ns); 2502if (location == BestSymbolLocation.FromSourceModule) 2528private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2532return BestSymbolLocation.FromFile; 2539BestSymbolLocation.FromSourceModule : 2540BestSymbolLocation.FromAddedModule; 2545BestSymbolLocation.FromCorLibrary : 2546BestSymbolLocation.FromReferencedAssembly;