예제 #1
0
            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);
            }
예제 #2
0
 protected override SyntaxNode AddAnnotations(SyntaxNode syntaxNode, out int count)
 {
     return(CSharpPropertyAnnotationsRewriter.AddAnnotations(document_, cancellationToken_, syntaxNode, out count));
 }