Für die benutzerdefinierten Attribute eines über ReflectionOnlyGetType geladenen Typs darf keine Reflektion verwendet werden (siehe Assembly.ReflectionOnly). Verwenden Sie 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.