/// <summary> /// Adds attribute to the specified declaration. /// </summary> /// <param name="declaration">The declaration to add attribute.</param> protected virtual SyntaxNode AddAttribute(SyntaxNode declaration) { return(Generator.AddAttributes(declaration, Attribute)); }