3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
18 lines
250 B
C#
18 lines
250 B
C#
// CS0115: `C.P' is marked as an override but no accessible `set' accessor found to override
|
|
// Line: 11
|
|
|
|
abstract class B
|
|
{
|
|
public virtual int P {
|
|
get;
|
|
private set;
|
|
}
|
|
}
|
|
|
|
class C : B
|
|
{
|
|
public override int P {
|
|
get { return 5; }
|
|
set { }
|
|
}
|
|
} |