Example #1
0
 public override void Accept([DisallowNull] DotSyntaxVisitor syntaxVisitor)
 {
     if (syntaxVisitor == null)
     {
         throw new ArgumentNullException(nameof(syntaxVisitor));
     }
     syntaxVisitor.VisitNodeId(this);
 }
Example #2
0
 public override TResult Accept <TResult>([DisallowNull] DotSyntaxVisitor <TResult> syntaxVisitor)
 {
     if (syntaxVisitor == null)
     {
         throw new ArgumentNullException(nameof(syntaxVisitor));
     }
     return(syntaxVisitor.VisitNodeId(this));
 }