So I’m doing a little coding using reflection and the following exception is raised:
It is illegal to reflect on the custom attributes of a Type loaded via ReflectionOnlyGetType (see Assembly.ReflectionOnly) -- use CustomAttributeData instead.
I don’t get it so I pump the error message into Microsoft’s Live Search. Live Search comes back with:
We did not find any results for It is illegal to reflect on the custom attributes of a Type loaded via ReflectionOnlyGetType (see Assembly.ReflectionOnly) -- use CustomAttributeData instead..
Not believing this for even 1 nanosecond, I run the same query using Google. Google’s first hit points me to Kirk Evens’ MSDN blog where the exact messages appears in the entry!