No se puede reflejar en los atributos personalizados de un tipo cargado mediante ReflectionOnlyGetType (consulte Assembly.ReflectionOnly). Utilice en su lugar CustomAttributeData.
Click to search this error in Google
English version
It is illegal to reflect on the custom attributes of a Type loaded via ReflectionOnlyGetType (see Assembly.ReflectionOnly) -- use CustomAttributeData instead.