public override void Accept([DisallowNull] DotSyntaxVisitor syntaxVisitor) { if (syntaxVisitor == null) { throw new ArgumentNullException(nameof(syntaxVisitor)); } syntaxVisitor.VisitAssignment(this); }
public override TResult Accept <TResult>([DisallowNull] DotSyntaxVisitor <TResult> syntaxVisitor) { if (syntaxVisitor == null) { throw new ArgumentNullException(nameof(syntaxVisitor)); } return(syntaxVisitor.VisitAssignment(this)); }