F i L:
I need this for collecting info on all Type Members's User Attributes. Currently, I have written a recursive function which does this, but I'm looking for a more elegant solution.
I have not fully understood the problem, but have you tried [__traits(getAttributes, m)] ?
Bye, bearophile