[Mono-bugs] [Bug 574666] New: sgen fails to generate serializers for static types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 28 04:38:47 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=574666

http://bugzilla.novell.com/show_bug.cgi?id=574666#c0


           Summary: sgen fails to generate serializers for static types
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: skolima at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=339324)
 --> (http://bugzilla.novell.com/attachment.cgi?id=339324)
test case

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2)
Gecko/20100115 Firefox/3.6 (.NET CLR 4.0.20506)

Sgen fails to generate a serialization assembly for an assembly containing a
static class.

Reproducible: Always

Steps to Reproduce:
1. Compile the attached file (gmcs CallbackConsts.cs /t:library)
2. Execute sgen on resulting assembly (sgen CallbackConsts.dll /keep)
3. Witness the invalid .cs produced

Actual Results:  
Microsoft sgen omits static types and additionally reports error when assembly
contains only static types, Mono sgen (svn r150356) reports compilation errors
then exits with success.

Expected Results:  
sgen should ommit static types from it's output, also, it should not exit with
success error code when there were compilation errors encountered (and thus no
output assembly produced, despite what it prints out)

-- 
Configure bugmail: http://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