Here in the method InsertAfter is used method InsertBefore.
Also InsertBefore(SyntaxNode node, SyntaxNode newNode) and InsertAfter(SyntaxNode node, SyntaxNode newNode) are duplicates
https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/Editing/SyntaxEditor.cs#L156
Here in the method InsertAfter is used method InsertBefore.
Also InsertBefore(SyntaxNode node, SyntaxNode newNode) and InsertAfter(SyntaxNode node, SyntaxNode newNode) are duplicates
https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/Editing/SyntaxEditor.cs#L156