Det går inte att reflektera i de anpassade attributen för en typ som har lästs in via ReflectionOnlyGetType (se Assembly.ReflectionOnly) -- använd CustomAttributeData i stället.
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.