internal static SyntaxNode AddAnnotations(Document document, CancellationToken cancellationToken, SyntaxNode node, out int count) { var rewriter = new CSharpPropertyAnnotationsRewriter(document, cancellationToken); var newNode = rewriter.Visit(node); count = rewriter._count; return(newNode); }
protected override SyntaxNode AddAnnotations(SyntaxNode syntaxNode, out int count) { return(CSharpPropertyAnnotationsRewriter.AddAnnotations(document_, cancellationToken_, syntaxNode, out count)); }