6 references to InsertTokensBefore
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxNodeTests.cs (2)
2277var cu1 = cu.InsertTokensBefore(publicToken, new[] { staticToken }); 2294Assert.Throws<InvalidOperationException>(() => cu.InsertTokensBefore(identifierC, new[] { identifierA, identifierB }));
Syntax\SyntaxRewriterTests.cs (1)
448var newRoot = root.InsertTokensBefore(publicToken, new[] { staticToken });
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Syntax\SyntaxRewriterTests.vb (1)
617Dim newRoot = root.InsertTokensBefore(publicToken, New SyntaxToken() {staticToken})
TestSyntaxNodes.vb (2)
1542Dim cu1 = cu.InsertTokensBefore(publicToken, {sharedToken}) 1565Assert.Throws(Of InvalidOperationException)(Function() cu.InsertTokensBefore(identifierC, {identifierA, identifierB}))