[Mono-bugs] [Bug 378088] New: Microsoft.CSharp. CSharpCodeGenerator generates bad syntax for abstract properties.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 8 14:10:50 EDT 2008


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


           Summary: Microsoft.CSharp.CSharpCodeGenerator generates bad
                    syntax for abstract properties.
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: stefan at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Created an attachment (id=206855)
 --> (https://bugzilla.novell.com/attachment.cgi?id=206855)
Patch for the bug

The csharp codedom generator generates method bodies on abstract properties.

Instead of generating:

protected abstract int Count
{
   get;
}

It generates

protected abstract int Count
{
   get
   {
   }
}

I have attached a patch to fix this.


-- 
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.


More information about the mono-bugs mailing list