Q:

At what time during runtime does an attribute constructor get run?

Trying to find some verbose reference on the intricacies of Attributes.  Any help would be appreciated.
At this point, I'd specifically like to know what time during runtime does an attribute constructor get ran?

If it's over a class
If it's over a property
If it's over a method

Thanks.

A:

The constructor is invoked when you call GetCustomAttributes() on the type or MemberInfo.

A:

Reading the norm (17.3.2 in the C# 2.0 version) it's unspecified. Only the way to convert from the metatada to an instance is.
So you may need to test on different implementations, because if it isn't specified it's bound to be interpreted differently.

