1 instantiation of BestSymbolInfo
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Symbols.cs (1)
2591var 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)
648BestSymbolInfo secondBest; 649BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest);
Binder\Binder_Symbols.cs (15)
2047BestSymbolInfo secondBest; 2048BestSymbolInfo best = GetBestSymbolInfo(symbols, out secondBest); 2533public static bool Sort(ref BestSymbolInfo first, ref BestSymbolInfo second) 2537BestSymbolInfo temp = first; 2559private BestSymbolInfo GetBestSymbolInfo(ArrayBuilder<Symbol> symbols, out BestSymbolInfo secondBest) 2561BestSymbolInfo first = default(BestSymbolInfo); 2562BestSymbolInfo second = default(BestSymbolInfo); 2576if (BestSymbolInfo.IsSecondLocationBetter(location, current)) 2591var third = new BestSymbolInfo(location, i); 2592if (BestSymbolInfo.Sort(ref second, ref third)) 2594BestSymbolInfo.Sort(ref first, ref second);