[Mono-bugs] [Bug 679530] New: Mono compiler bug with fixed array in unsafe struct

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 14 16:16:31 EDT 2011



           Summary: Mono compiler bug with fixed array in unsafe struct
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: jmichels at bluefintrading.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=419242)
 --> (http://bugzilla.novell.com/attachment.cgi?id=419242)
Proof Code

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16

The mono compiler generates the following error when compiling the provided
demo code.

Main.cs(17,17): Error CS0171: Field `BugProof.TestStruct.symbol' must be fully
assigned before control leaves the constructor (CS0171) (BugProof)

Reproducible: Always

Steps to Reproduce:
1. Compile Demo Code
2. See Error
3. Profit!
Actual Results:  
Compiler error generated.

Expected Results:  
No compiler error.

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