mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
12 lines
302 B
C#
12 lines
302 B
C#
// cs0546.cs: `DerivedClass.Value.set': cannot override because `BaseClass.Value' does not have an overridable set accessor
|
|
// Line: 9
|
|
|
|
abstract class BaseClass {
|
|
protected abstract int Value { get; }
|
|
}
|
|
|
|
class DerivedClass: BaseClass {
|
|
protected override int Value { get {} set {} }
|
|
}
|
|
|