Hi,

I have a TypeReference and would like to know which type it has

bool Compare(TypeReference tr, Type t)
{
    return tr.IsOfType(t)
}

How can I do that?
This has to work for typeof(string), typeof(int?)
typeof(Dictionary(T,string))

Thanks

Jan

-- 
--
mono-cecil

To unsubscribe, reply using "remove me" as the subject.

Reply via email to