1 write to _renameAnnotations
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
143
_renameAnnotations
= parameters.RenameAnnotations;
9 references to _renameAnnotations
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Rename\CSharpRenameRewriterLanguageService.cs (9)
314
newNode =
_renameAnnotations
.WithAdditionalAnnotations(newNode, new RenameNodeSimplificationAnnotation() { OriginalTextSpan = oldSpan });
333
var annotation =
_renameAnnotations
.GetAnnotations(token).OfType<RenameActionAnnotation>().FirstOrDefault();
417
newToken =
_renameAnnotations
.WithAdditionalAnnotations(newToken, renameAnnotation, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = token.Span });
422
newToken =
_renameAnnotations
.WithAdditionalAnnotations(newToken, _renameRenamableSymbolDeclaration);
510
result =
_renameAnnotations
.WithAdditionalAnnotations(result, renameAnnotation);
534
return
_renameAnnotations
.GetAnnotations(token).OfType<RenameActionAnnotation>().First().IsRenameLocation;
644
return newToken.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newToken, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldSpan }));
672
return trivia.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newTrivia, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldSpan }));
710
newToken = newToken.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newIdentifierToken, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldToken.Span }));