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