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)
1952
var srcSymbol = symbols[best.
Index
];
1953
var mdSymbol = symbols[secondBest.
Index
];
1979
return originalSymbols[best.
Index
];
1990
return originalSymbols[best.
Index
];
2001
return originalSymbols[best.
Index
];
2011
var first = symbols[best.
Index
];
2012
var second = symbols[secondBest.
Index
];
2014
Debug.Assert(!Symbol.Equals(originalSymbols[best.
Index
], originalSymbols[secondBest.
Index
], TypeCompareKind.ConsiderEverything) || options.IsAttributeTypeLookup(),
2017
Debug.Assert(!Symbol.Equals(first, second, TypeCompareKind.ConsiderEverything) || !Symbol.Equals(originalSymbols[best.
Index
], originalSymbols[secondBest.
Index
], TypeCompareKind.ConsiderEverything),
2172
Debug.Assert(originalSymbols[best.
Index
].Name != originalSymbols[secondBest.
Index
].Name ||
2173
!Symbol.Equals(originalSymbols[best.
Index
], originalSymbols[secondBest.
Index
], TypeCompareKind.ConsiderEverything),
2183
originalSymbols[best.
Index
].Name != originalSymbols[secondBest.
Index
].Name && // Use alias names, if available.