[Mono-bugs] [Bug 504667] New: [gmcs] compilation error when using partial static classes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 18 04:00:01 EDT 2009


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


           Summary: [gmcs] compilation error when using partial static
                    classes
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following compiles using csc:

--
using System;



class Foo {}



static partial class Extensions {



    public static bool IsFoo (this Foo self)

    {

        return true;

    }

}



class Bar {}



partial class Extensions {



    public static bool IsBar (this Bar self)

    {

    }

}



class Program {



    static void Main ()

    {

    }

}

--

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