// Return an array of all of the custom attributes (named attributes are not included) public Object[] GetCustomAttributes(bool inherit) { return(CustomAttribute.GetCAReturnValue(m_method, null, inherit)); }
// Return an array of custom attributes identified by Type public Object[] GetCustomAttributes(Type attributeType, bool inherit) { return(CustomAttribute.GetCAReturnValue(m_method, attributeType, inherit)); }