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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to