Použití reflexe pro vlastní atributy typu načteného prostřednictvím metody ReflectionOnlyGetType není povoleno (viz vlastnost Assembly.ReflectionOnly). Použijte raději třídu 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.