[Mono-bugs] [Bug 405807] New: MetadataWriter/ ImageWriter should emit fieldinitialization in the . data section instead of .text

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 2 12:30:30 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=405807


           Summary: MetadataWriter/ImageWriter should emit
                    fieldinitialization in the .data section instead of
                    .text
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Cecil
        AssignedTo: jbevain at novell.com
        ReportedBy: andrea.ornstein at st.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


code compiled with ilasm or mcs puts field init data in the .data section
When I use monodis on the generated assembly I can see the byte stream dumped

When I save an assembly that has been changed using Mono.Cecil field init data
ends up in the .text section

The issue here is that if I use monodis to look at the code I do not see them
anymore.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list