internal static SyntaxNode AddAnnotations(SyntaxNode node, out int count) { var rewriter = new CSharInterfaceAnnotationsRewriter(); var newNode = rewriter.Visit(node); count = rewriter._count; return(newNode); }
protected override SyntaxNode AddInterfaceAnnotations(SyntaxNode syntaxNode, out int count) { return(CSharInterfaceAnnotationsRewriter.AddAnnotations(syntaxNode, out count)); }