3 references to _cursorAnnotation
Microsoft.CodeAnalysis.CSharp.Features (1)
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
104
var newRoot = root.ReplaceNode(originalTypeDeclaration, newTypeDeclaration.WithAdditionalAnnotations(
_cursorAnnotation
, _findSnippetAnnotation));
Microsoft.CodeAnalysis.Features (2)
Snippets\SnippetProviders\AbstractSnippetProvider.cs (2)
110
var caretTarget = reformattedRoot.GetAnnotatedNodes(
_cursorAnnotation
).FirstOrDefault();
220
var annotatedSnippetRoot = await AnnotateNodesToReformatAsync(document, _findSnippetAnnotation,
_cursorAnnotation
, position, cancellationToken).ConfigureAwait(false);