public IList <CustomAttributeData> __GetCustomAttributes(Type attributeType, bool inherit) { return(CustomAttributeData.__GetCustomAttributes(this, attributeType, inherit)); }
public bool IsDefined(Type attributeType, bool inherit) { return(CustomAttributeData.__GetCustomAttributes(this, attributeType, inherit).Count != 0); }