1 instantiation of BestSymbolInfo
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Symbols.cs (1)
2554var third = new BestSymbolInfo(location, i);
19 references to BestSymbolInfo
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Crefs.cs (2)
870BestSymbolInfo secondBest; 871BestSymbolInfo best = GetBestSymbolInfo(unwrappedSymbols, out secondBest);
Binder\Binder_Lookup.cs (2)
699BestSymbolInfo secondBest; 700BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest);
Binder\Binder_Symbols.cs (15)
2010BestSymbolInfo secondBest; 2011BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest); 2496public static bool Sort(ref BestSymbolInfo first, ref BestSymbolInfo second) 2500BestSymbolInfo temp = first; 2522private BestSymbolInfo GetBestSymbolInfo(ArrayBuilder<Symbol> symbols, out BestSymbolInfo secondBest) 2524BestSymbolInfo first = default(BestSymbolInfo); 2525BestSymbolInfo second = default(BestSymbolInfo); 2539if (BestSymbolInfo.IsSecondLocationBetter(location, current)) 2554var third = new BestSymbolInfo(location, i); 2555if (BestSymbolInfo.Sort(ref second, ref third)) 2557BestSymbolInfo.Sort(ref first, ref second);