Attributes are not documented properly
Status: Beta
Brought to you by:
xharzej
If I copy and paste a definition of a class with DefaultMemberAttribute from the documentation, it produces an compiler error.
The reason is, all parameters of the attribute are listed as named one. In the example of DefaultMember there is no named parameter, only one positional from the only available constructor.
Another example is the TestAttribute in the test suite.
It don't know how we can fix this, as we have no way of knowing the order of the parameters in the constructor. I know it wouldn't be a problem in the described case, but it would if the constructor took two strings as parameters.