* extended ForEachAttribute and IfHasAttribute to properly handle inheritance when looking for attributes on a type.
* extended ForEachAttribute and IfHasAttribute to properly handle inheritance when looking for attributes on a type.

andrea-magni/MARS,andrea-magni/MARS