Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
An array of Objects representing custom attributes, or an empty array.
Calling ICustomAttributeProvider.GetCustomAttributes(Type, bool) on System.Reflection.PropertyInfo or System.Reflection.EventInfo when the inherit parameter of GetCustomAttributes is true does not walk the type hierarchy. Use Attribute to inherit custom attributes.
This method returns custom attributes defined directly on a non-inherited member only.