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