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

http://bugzilla.novell.com/show_bug.cgi?id=626474#c0


           Summary: Reports lack of overridable accessor when it is in an
                    upper level of the class hierarchy
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: kno...@gmail.com
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.1.10)
Gecko/20100506 SUSE/3.5.10-0.1.1 Firefox/3.5.10

using System;

namespace CsharpLib
{
  public class MyBaseClass {
    public virtual bool HasEditableTrackProperties {
      get { return false; }
      set { throw new NotSupportedException (); }
    }
  }
  public class MyClass : MyBaseClass
  {
    public override bool HasEditableTrackProperties {
      get { return true; }
    }
  }

  public class MyLasClass : MyClass
  {
    public override bool HasEditableTrackProperties {
      get { return true; }
      set { }
    }
  }
}



Reproducible: Always

Steps to Reproduce:
1.Compile above code.
Actual Results:  
Compiler error (CS0546)

Expected Results:  
CSC compiles it fine.

-- 
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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to