Scenario: I have a base class "MyBase". I have a custom attribute "MyAttrib"
With that I do this:
[MyAttrib(1234)]
class MyClass : MyBase()
{
MyClass()
{
}
}
Question: Can I in any way force classes inherting from MyBase to have the attribute MyAttrib?