6 references to InsertTokensAfter
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxNodeTests.cs (2)
2280var cu2 = cu.InsertTokensAfter(publicToken, new[] { staticToken }); 2297Assert.Throws<InvalidOperationException>(() => cu.InsertTokensAfter(identifierC, new[] { identifierA, identifierB }));
Syntax\SyntaxRewriterTests.cs (1)
454var newRoot2 = root.InsertTokensAfter(publicToken, new[] { staticToken });
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Syntax\SyntaxRewriterTests.vb (1)
624Dim newRoot2 = root.InsertTokensAfter(publicToken, New SyntaxToken() {staticToken})
TestSyntaxNodes.vb (2)
1547Dim cu2 = cu.InsertTokensAfter(publicToken, {sharedToken}) 1568Assert.Throws(Of InvalidOperationException)(Function() cu.InsertTokensAfter(identifierC, New SyntaxToken() {}))