TypeDesc can represent arrays, byrefs, pointers or function types. I
don't believe they can represent a boxed value type.

I may be helpful for you to know that the MethodTable is same for both
boxed and unboxed value types. For example, to determine whether an
objRef contains a boxed value type, you simply check whether it contains
a value type: objRef->GetMethodTable()->IsValueClass().

-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of John Locke
Sent: Friday, June 27, 2003 3:11 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Is a TypeDesc a boxed value?

If I have a TypeDesc object, how do I determine
whether that represents a boxed value type?

John

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Reply via email to