2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0507-2.cs
blobf2b0b5df9645c5da2b44dd6823b433fa2f0d8f4b
1 // cs0507-2.cs: `DerivedClass.Message.set': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Message.set'
2 // Line: 15
4 class BaseClass {
5 public virtual string Message {
6 get {
7 return "";
9 protected set {
14 class DerivedClass : BaseClass {
15 public override string Message {
16 get {
17 return "";
19 set {