bugDotGNU Portable.NET - Bugs: bug #2166, ILASM BUG roundtripping on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Thu 09 Jan 2003 11:38:34 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 09 Jan 2003 12:32:50 PM UTC, comment #1:

Fix checked into CVS - 9 Jan 2003

Rhys Weatherley <rweather>
Project Administrator
Thu 09 Jan 2003 11:38:34 AM UTC, original submission:

COMMANDS EXECUTED :
$ ilasm.exe test_interface.il
$ ildasm.exe test_interface.obj > test_interface.obj.il
$ ilasm.exe test_interface.obj.il

INPUT :
.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)
}
}
--------------------------------------------------------------
.module test_interface.obj
// MVID: {04184D9A-6B3F-0E6B-C0A3-BA127CCD644D}
.class private auto ansi test extends [mscorlib]System.Object
{
.method public virtual hidebysig newslot abstract instance void marshal(unsigned int32) test1([in] bool marshal(bool) abool, int32) cil managed {}
}
.class private auto ansi test2 extends [mscorlib]System.Object
{
.method public virtual newslot instance void testf() cil managed
{
// Start of method header: 2048
.maxstack 8
?L2049:
callvirt instance void marshal(unsigned int32) test::test1([in] bool marshal(bool) abool, int32)
}
}

-----------------------------------------
ERROR
error message
test_interface.obj.il:28: parse error,
unexpected "`marshal'"

James Michael DuPont <mdupont>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 09 Jan 2003 12:32:50 PM UTCrweatherOpen/ClosedOpen=>(Error - Not Found)
Thu 09 Jan 2003 12:32:49 PM UTCrweatherStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1