1 instantiation of BestSymbolInfo
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Symbols.cs (1)
2585var third = new BestSymbolInfo(location, i);
19 references to BestSymbolInfo
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Crefs.cs (2)
886BestSymbolInfo secondBest; 887BestSymbolInfo best = GetBestSymbolInfo(unwrappedSymbols, out secondBest);
Binder\Binder_Lookup.cs (2)
676BestSymbolInfo secondBest; 677BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest);
Binder\Binder_Symbols.cs (15)
2041BestSymbolInfo secondBest; 2042BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest); 2527public static bool Sort(ref BestSymbolInfo first, ref BestSymbolInfo second) 2531BestSymbolInfo temp = first; 2553private BestSymbolInfo GetBestSymbolInfo(ArrayBuilder<Symbol> symbols, out BestSymbolInfo secondBest) 2555BestSymbolInfo first = default(BestSymbolInfo); 2556BestSymbolInfo second = default(BestSymbolInfo); 2570if (BestSymbolInfo.IsSecondLocationBetter(location, current)) 2585var third = new BestSymbolInfo(location, i); 2586if (BestSymbolInfo.Sort(ref second, ref third)) 2588BestSymbolInfo.Sort(ref first, ref second);