In an inheriting class, adds the attributes of the inheriting class to the specified list of attributes in the parent class. For duplicate attributes, the last one added to the list will be kept.
protected virtual void FillAttributes(IList attributeList) { if (_originalAttributes != null) { foreach (Attribute attr in _originalAttributes) { attributeList.Add(attr); } } }