L
Lloyd Dupont
I load a type throught method such as
Assembly.GetType(typeName)
and I put it into a hastable, as a key
later on I *try* retrieve some information from this table with code like
PropertyInfo pi;
myhashtable[pi.PropertyInfo]
unfortunately this doesnt retrieve the value ?!?!?!
looking step by step in the debugger I see the following weird thing.
my hashtable doesn't have tyhe proper key but a simple wrapper over the type
of type
System.RuntimeType
any idea of what's going on ? and how to avoid it ?
Assembly.GetType(typeName)
and I put it into a hastable, as a key
later on I *try* retrieve some information from this table with code like
PropertyInfo pi;
myhashtable[pi.PropertyInfo]
unfortunately this doesnt retrieve the value ?!?!?!
looking step by step in the debugger I see the following weird thing.
my hashtable doesn't have tyhe proper key but a simple wrapper over the type
of type
System.RuntimeType
any idea of what's going on ? and how to avoid it ?