[Mono-bugs] [Bug 63421][Nor] New - Monodis output can not be assembled with ilasm

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 05:40:46 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by maurits.rijk@philips.com.


--- shadow/63421	2004-08-19 05:40:46.000000000 -0400
+++ shadow/63421.tmp.3076	2004-08-19 05:40:46.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 63421
+Product: Mono: Compilers
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Other.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: maurits.rijk@philips.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Monodis output can not be assembled with ilasm
+Description of Problem:
+A small GTK# program (will attach next) that I disassembled with monodis
+can't be assembled again with ilasm.
+Steps to reproduce the problem:
+1. compile attached file
+2. monodis --output=temp.il1 MonoBug.exe
+3. ilasm /output:test.exe temp.il1
+Actual Results:
+syntax error, got token `DASH', expecting....
+Error at: line(5) column (22)
+Expected Results:
+The problem is caused by the line:
+.assembly extern gtk-sharp
+which can be solved by:
+.assembly extern 'gtk-sharp'
+How often does this happen? 
+Additional Information:
+* happens both with mono 1.0 and 1.0.1
+* the Microsoft ilasm doesn't need the quotes around gtk-sharp