16 instantiations of RedRewriter
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
Syntax\SyntaxRewriterTests.cs (16)
63var rewriter = new RedRewriter(); 75var rewriter = new RedRewriter(rewriteNode: node => 99var rewriter = new RedRewriter(rewriteNode: node => 127var rewriter = new RedRewriter(); 141var rewriter = new RedRewriter(rewriteToken: token => 162var rewriter = new RedRewriter(rewriteToken: token => 186var rewriter = new RedRewriter(); 199var rewriter = new RedRewriter(rewriteTrivia: trivia => 213var rewriter = new RedRewriter(rewriteTrivia: trivia => default(SyntaxTrivia)); 229var rewriter = new RedRewriter(); 242var rewriter = new RedRewriter(rewriteNode: node => 256var rewriter = new RedRewriter(rewriteNode: node => 273var rewriter = new RedRewriter(rewriteNode: node => 305var rewriter = new RedRewriter(rewriteNode: node => 568var rewriter = new RedRewriter(rewriteToken: tok => tok.Kind() == SyntaxKind.IdentifierToken ? tok.WithLeadingTrivia(trivia) : tok); 614var rewriter = new RedRewriter(rewriteToken: tok => tok.Kind() == SyntaxKind.IdentifierToken ? tok.WithLeadingTrivia(trivia) : tok);
17 references to RedRewriter
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
Syntax\SyntaxRewriterTests.cs (17)
63var rewriter = new RedRewriter(); 75var rewriter = new RedRewriter(rewriteNode: node => 99var rewriter = new RedRewriter(rewriteNode: node => 127var rewriter = new RedRewriter(); 141var rewriter = new RedRewriter(rewriteToken: token => 162var rewriter = new RedRewriter(rewriteToken: token => 186var rewriter = new RedRewriter(); 199var rewriter = new RedRewriter(rewriteTrivia: trivia => 213var rewriter = new RedRewriter(rewriteTrivia: trivia => default(SyntaxTrivia)); 229var rewriter = new RedRewriter(); 242var rewriter = new RedRewriter(rewriteNode: node => 256var rewriter = new RedRewriter(rewriteNode: node => 273var rewriter = new RedRewriter(rewriteNode: node => 305var rewriter = new RedRewriter(rewriteNode: node => 568var rewriter = new RedRewriter(rewriteToken: tok => tok.Kind() == SyntaxKind.IdentifierToken ? tok.WithLeadingTrivia(trivia) : tok); 614var rewriter = new RedRewriter(rewriteToken: tok => tok.Kind() == SyntaxKind.IdentifierToken ? tok.WithLeadingTrivia(trivia) : tok); 706private static void TestRed(string input, string output, RedRewriter rewriter, bool isExpr)