blob: 4cec44865f99b017e88ddeaddced84cf0eb619bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS0546: `B.Prop': cannot override because `A.Prop' does not have accessible set accessor
// Line: 13
public class A
{
public virtual string Prop {
get; private set;
}
}
public class B : A
{
sealed override public string Prop {
get { return ""; }
}
}
|