21 references to Index
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Crefs.cs (1)
699symbolIndex = best.Index;
Binder\Binder_Lookup.cs (3)
632var srcSymbol = symbols[best.Index]; 633var mdSymbol = symbols[secondBest.Index]; 638return originalSymbols[best.Index];
Binder\Binder_Symbols.cs (17)
1970var srcSymbol = symbols[best.Index]; 1971var mdSymbol = symbols[secondBest.Index]; 1997return originalSymbols[best.Index]; 2008return originalSymbols[best.Index]; 2019return originalSymbols[best.Index]; 2029var first = symbols[best.Index]; 2030var second = symbols[secondBest.Index]; 2032Debug.Assert(!Symbol.Equals(originalSymbols[best.Index], originalSymbols[secondBest.Index], TypeCompareKind.ConsiderEverything) || options.IsAttributeTypeLookup(), 2035Debug.Assert(!Symbol.Equals(first, second, TypeCompareKind.ConsiderEverything) || !Symbol.Equals(originalSymbols[best.Index], originalSymbols[secondBest.Index], TypeCompareKind.ConsiderEverything), 2190Debug.Assert(originalSymbols[best.Index].Name != originalSymbols[secondBest.Index].Name || 2191!Symbol.Equals(originalSymbols[best.Index], originalSymbols[secondBest.Index], TypeCompareKind.ConsiderEverything), 2201originalSymbols[best.Index].Name != originalSymbols[secondBest.Index].Name && // Use alias names, if available.