1 write to _renameAnnotations
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
140
_renameAnnotations
= parameters.RenameAnnotations;
9 references to _renameAnnotations
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Rename\CSharpRenameRewriterLanguageService.cs (9)
311
newNode =
_renameAnnotations
.WithAdditionalAnnotations(newNode, new RenameNodeSimplificationAnnotation() { OriginalTextSpan = oldSpan });
330
var annotation =
_renameAnnotations
.GetAnnotations(token).OfType<RenameActionAnnotation>().FirstOrDefault();
413
newToken =
_renameAnnotations
.WithAdditionalAnnotations(newToken, renameAnnotation, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = token.Span });
418
newToken =
_renameAnnotations
.WithAdditionalAnnotations(newToken, _renameRenamableSymbolDeclaration);
506
result =
_renameAnnotations
.WithAdditionalAnnotations(result, renameAnnotation);
530
return
_renameAnnotations
.GetAnnotations(token).OfType<RenameActionAnnotation>().First().IsRenameLocation;
640
return newToken.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newToken, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldSpan }));
668
return trivia.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newTrivia, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldSpan }));
706
newToken = newToken.CopyAnnotationsTo(
_renameAnnotations
.WithAdditionalAnnotations(newIdentifierToken, new RenameTokenSimplificationAnnotation() { OriginalTextSpan = oldToken.Span }));