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

 
 

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

bug #2167: ILASM BUG roundtripping on nested classes

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

Thu 09 Jan 2003 01:25:09 PM UTC, comment #2:

$ ildsm.exe test_quote2.il
$ ildasm.exe test_quote2.obj > test_quote2.obj.il
$ ilasm.exe test_quote2.obj.il
test_quote2.obj.il:24: parse error, unexpected "::", expecting ':'

Please do try these steps, you will find another bug.

James Michael DuPont <mdupont>
Thu 09 Jan 2003 12:27:47 PM UTC, comment #1:

Fix checked into CVS - 9 Jan 2003

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

it looks like you output a class too many in the ldcall

INPUT
---------------
.class private auto ansi beforefieldinit 'test'
{
.method assembly hidebysig specialname rtspecialname instance void 'tes'() cil managed
{

ldtoken field valuetype '<PrivateImplementationDetails>'/'$$struct0x60001ef-1' '<PrivateImplementationDetails>'/* 02000152 /::'$$method0x60001ef-1' / 040005D7 */
// ldtoken valuetype '<PrivateImplementationDetails>'/'$$struct0x60001ef-1' class '<PrivateImplementationDetails>'::'$$method0x60001ef-1';

}
}

OUTPUT
----------------
.module test_quote2.obj
// MVID: {7C5C0240-D17A-0E74-5C4F-99CBD33F865A}
.class private auto ansi beforefieldinit test extends [mscorlib]System.Object
{
.method assembly hidebysig specialname rtspecialname instance void tes() cil managed
{
// Start of method header: 2048
.maxstack 8
?L2049:
ldtoken valuetype '<PrivateImplementationDetails>'/'$$struct0x60001ef-1' class '<PrivateImplementationDetails>'::'$$method0x60001ef-1'
}
}

error :
test_quote2.obj.il:24: parse error, unexpected "`class'", expecting '}'

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:27:47 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1