[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-502.cs
blob684ecc6824248c5c02212e086fa98ce2d0e85b2d
1 class Base
3 public int Property { get { return 42; } }
4 public static void Main () {}
7 // TC #1
8 class Derived : Base
10 public int get_Property() { return 42; }
13 // TC #2
14 class BaseClass {
15 protected virtual int Value {
16 get {
17 return 0;
19 set { }
23 abstract class DerivedClass: BaseClass {
24 protected int get_Value () {
25 return 1;
30 class ErrorClass: DerivedClass {
31 protected override int Value {
32 get {
33 return 0;
35 set { }