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


           Summary: Suboptimal error message reporting on automatic
                    properties.
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


This error is quite confusing:

gmcs /tmp/a.cs
/tmp/a.cs(2,36): error CS1014: A get or set accessor expected
Compilation failed: 1 error(s), 0 warnings

The file is:

class X {
        public int Mine { get; set }
}

The problem is that set is missing a semicolon.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to