23 references to BestSymbolLocation
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Symbols.cs (23)
2357private readonly BestSymbolLocation _location; 2375return _location == BestSymbolLocation.FromSourceModule; 2383return _location == BestSymbolLocation.FromAddedModule; 2391return (_location == BestSymbolLocation.FromSourceModule) || (_location == BestSymbolLocation.FromAddedModule); 2399return _location == BestSymbolLocation.FromFile; 2407return _location == BestSymbolLocation.None; 2415return _location == BestSymbolLocation.FromCorLibrary; 2419public BestSymbolInfo(BestSymbolLocation location, int index) 2421Debug.Assert(location != BestSymbolLocation.None); 2446public static bool IsSecondLocationBetter(BestSymbolLocation firstLocation, BestSymbolLocation secondLocation) 2449return (firstLocation == BestSymbolLocation.None) || (firstLocation > secondLocation); 2465BestSymbolLocation location; 2469location = BestSymbolLocation.None; 2472var current = GetLocation(compilation, ns); 2476if (location == BestSymbolLocation.FromSourceModule) 2502private static BestSymbolLocation GetLocation(CSharpCompilation compilation, Symbol symbol) 2506return BestSymbolLocation.FromFile; 2513BestSymbolLocation.FromSourceModule : 2514BestSymbolLocation.FromAddedModule; 2519BestSymbolLocation.FromCorLibrary : 2520BestSymbolLocation.FromReferencedAssembly;