dotgnu-general
[Top][All Lists]
Advanced

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

[DotGNU]New (and maybe one old ) ilasm bugs


From: James Michael DuPont
Subject: [DotGNU]New (and maybe one old ) ilasm bugs
Date: Thu, 9 Jan 2003 03:51:59 -0800 (PST)

Three new bugs 2163, 2166, 2167

2163 ILDASM BUG- .extends not nested  
this is simple,
the .extends has to go into the .method, not after

2166 ILASM BUG roundtripping on callvirt instance void marshal(unsigned
int32) test::test1(...)  

this is ugly,
callvirt instance void marshal(unsigned int32) test::test1(...)
the function is a void, but marshalled as a int32,

go figure !

.class test
{
.method public hidebysig newslot virtual abstract 
        instance void 
        marshal( unsigned int32) 
        'test1'([in] bool  marshal( bool) 'abool',
                         [in] int32  marshal( unsigned int32) 'aint' 
        ) cil managed
{}
}

.class test2
{
.method public newslot virtual instance void 'testf'  () cil managed
{
        callvirt   instance void test::test1(bool, int32)       
}
}


2167 ILASM BUG roundtripping on nested classes  

this is really easy : this input
ldtoken    field valuetype
'<PrivateImplementationDetails>'/'$$struct0x60001ef-1'
'<PrivateImplementationDetails>'::'$$method0x60001ef-1' 

has falsely a "class" inject into it. I think I reported this before :

the bad output is : 
ldtoken   valuetype
'<PrivateImplementationDetails>'/'$$struct0x60001ef-1' class
'<PrivateImplementationDetails>'::'$$method0x60001ef-1';



mike

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


reply via email to

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