14 references to GetKey
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (14)
2737var oldSymbolInNewCompilation = symbolCache.GetKey(oldSymbol, cancellationToken).Resolve(newModel.Compilation, ignoreAssemblyKey: true, cancellationToken).Symbol; 2738var newSymbolInOldCompilation = symbolCache.GetKey(newSymbol, cancellationToken).Resolve(oldModel.Compilation, ignoreAssemblyKey: true, cancellationToken).Symbol; 2805var containingTypeSymbolKey = symbolCache.GetKey(containingType, cancellationToken); 2853var typeKey = symbolCache.GetKey(newType, cancellationToken); 2938var containingTypeKey = symbolCache.GetKey(oldContainingType, cancellationToken); 3063var containingTypeKey = symbolCache.GetKey(newContainingType, cancellationToken); 3232AddDeleteEditsForMemberAndAccessors(semanticEdits, synthesizedProperty.SetMethod, symbolCache.GetKey(oldProperty.ContainingType, cancellationToken), cancellationToken); 3399var containingSymbolKey = symbolCache.GetKey(oldSymbol.ContainingType, cancellationToken); 3422var symbolKey = symbolCache.GetKey(symbol, cancellationToken); 3429? symbolCache.GetKey(symbol.ContainingType, cancellationToken) 3544var symbolKey = symbolCache.GetKey(newSymbol, cancellationToken); 3583oldSymbol ??= Resolve(newSymbol!, symbolCache.GetKey(newSymbol!, cancellationToken), oldModel.Compilation, cancellationToken); 3584newSymbol ??= Resolve(oldSymbol!, symbolCache.GetKey(oldSymbol!, cancellationToken), newModel.Compilation, cancellationToken); 3669symbolCache.GetKey(oldSymbol, cancellationToken).Resolve(newCompilation, ignoreAssemblyKey: true, cancellationToken).Symbol is { } matchingNewSymbol &&