Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-787.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5c1d28f4afd931256d50024b35c4c8e010a39e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;

public class A : Attribute
{
	public virtual string Prop {
		set {}
		get { return null; }
	}

	public int Field ()
	{
		return 0;
	}
}

public class B : A
{
	public override string Prop {
		set {}
		get { return "b"; }
	}

	public new int Field;	
}

[B (Prop = "a", Field = 3)]
public class Test
{
	public static void Main ()
	{
	}
}