/// <summary> /// Initializes a new instance of the <see cref="AttributeDefinition" /> class. /// </summary> /// <param name="node">The node that describes the attribute.</param> /// <exception cref="ArgumentNullException">The <paramref name="node" /> parameter is <c>null</c>.</exception> public AttributeDefinition(AttributeSyntax node) : base(node) { node = node ?? throw new ArgumentNullException(nameof(node)); Name = node.GetRawName(); Arguments = DetermineParameters(node); }