public static async Task <TOut> AcceptAsync <TOut>(this SyntaxNode node, CommentConvertingVisitorWrapper visitorWrapper, SourceTriviaMapKind sourceTriviaMap = SourceTriviaMapKind.All) where TOut : CSharpSyntaxNode
 {
     if (node == null)
     {
         return(null);
     }
     return(await visitorWrapper.AcceptAsync <TOut>(node, sourceTriviaMap));
 }
 public static async Task <SeparatedSyntaxList <TOut> > AcceptSeparatedListAsync <TIn, TOut>(this SeparatedSyntaxList <TIn> nodes, CommentConvertingVisitorWrapper visitorWrapper, SourceTriviaMapKind sourceTriviaMap = SourceTriviaMapKind.All) where TIn : VisualBasicSyntaxNode where TOut : CSharpSyntaxNode
 {
     return(await visitorWrapper.AcceptAsync <TIn, TOut>(nodes, sourceTriviaMap));
 }
 private async Task <(ExpressionSyntax, ExpressionSyntax)> AcceptSidesAsync(VBSyntax.BinaryExpressionSyntax node)
 {
     return(await _triviaConvertingVisitor.AcceptAsync <ExpressionSyntax>(node.Left, SourceTriviaMapKind.All), await _triviaConvertingVisitor.AcceptAsync <ExpressionSyntax>(node.Right, SourceTriviaMapKind.All));
 }
 /// <summary>For TOut, specify the most general type acceptable by the calling code (often ExpressionSyntax), this allows error information to be attached to a dummy return node.</summary>
 public static async Task <TOut> AcceptAsync <TOut>(this VisualBasicSyntaxNode node, CommentConvertingVisitorWrapper visitorWrapper, SourceTriviaMapKind sourceTriviaMap = SourceTriviaMapKind.All) where TOut : CSharpSyntaxNode =>
 node == null ? null : await visitorWrapper.AcceptAsync <TOut>(node, sourceTriviaMap);