[Mono-bugs] [Bug 504676] New: [gmcs] compilation error with hided properties in interfaces

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 18 04:38:35 EDT 2009


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


           Summary: [gmcs] compilation error with hided properties in
                    interfaces
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


csc compiles the following code fine:

--
using System;



class Ref {}

class Def : Ref {}



interface IFooRef {

    Ref Bar { get; }

}



interface IFooDef : IFooRef {

    new Def Bar { get; set; }

}



class FooProcessor<T> where T : IFooDef {



    public void Attach (T t, Def def)

    {

        t.Bar = def;

    }

}



class Program {



    static void Main ()

    {

    }

}

--

blocks cecil/light.

-- 
Configure bugmail: http://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