public static IList<CustomAttributeData> __GetCustomAttributes(Type type, Type interfaceType, Type attributeType, bool inherit) { return type.GetInterfaceImplCustomAttributes(interfaceType, attributeType); }