[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Pnet trivia : how to typecast?

From: James Michael DuPont
Subject: [DotGNU]Pnet trivia : how to typecast?
Date: Thu, 23 Jan 2003 15:14:24 -0800 (PST)

How can I find the conversion path of a user defined type into an
int this code, 
I want to find the conversion from a unsigned in to an int (Int32).
Basically , if we are trying a bit harder in the function
 ILClassFromType(info->image, info, type, TypeResolver);

that would be like a try and force the conversion, if so report so, but
only after you tried all the methods :

here are some of the interesting functions
GetIndirectConvertRules -- 
ILCanCoerceNodeKind     -- 

Here is the int object : 
type=0x21  : that means it uses less space in memory?
very interesting idea!

ILNode_SemAnalysis_94__ -- this is generated from the "+" command
ILNode_SemAnalysis      -- this is the dispatch function that calls it.

bye the way, I solved a bug report.

the error message was not good enough.


James Michael DuPont

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]