public virtual TResult VisitNodeId([DisallowNull] DotNodeIdSyntax nodeId) { if (nodeId == null) { throw new ArgumentNullException(nameof(nodeId)); } return(DefaultVisit(nodeId)); }
public DotNodeStatementSyntax([DisallowNull] DotNodeIdSyntax nodeId, [AllowNull] DotAttributeListSyntax?attributeList) : base( SyntaxKind.DotNodeStatement, nodeId?.Start ?? 0, (nodeId?.FullWidth ?? 0) + (attributeList?.FullWidth ?? 0), new DotSyntax?[] { nodeId, attributeList }) { NodeId = nodeId ?? throw new ArgumentNullException(nameof(nodeId)); AttributeList = attributeList; }