Hi,

I'm trying to read an assembly with the following attribute:
[assembly: TypeTestAttribute(typeof(IList<string>))]

However, the Mono.Cecil.CustomAttribute.ConstructorParameters collection
contains the string
"System.Collections.Generic.IList`1[[System.String, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

How do I detect that the argument was actually a System.Type, not a string?
I'd like to have a Mono.Cecil.TypeReference for the argument. Is there
some builtin method to decode the string?

Daniel

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to