HЕY! This topic is a duplicate of: Why does C# forbid generic attribute types?
I am looking closely at the Roslyn compiler and noticed that a generic type can be used for an attribute. Hence my question: Is there a good example of a generic attribute in C#?
EDIT:
It turned out they actually are not allowed per:
error CS0698: A generic type cannot derive from 'Attribute' because it is an attribute class
So my actual question would be: why is this this way?