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

test-862.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a9c433e6e5d9749c585228e2f76577e09932f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class op_Addition
{
	public static int Foo = 42;

	public class Builder
	{
		public int Foo
		{
			get { return op_Addition.Foo; }
		}

		public static int operator + (Builder a, Builder b)
		{
			return 0;
		}
	}

	public static void Main ()
	{
		var x = new Builder ().Foo;
	}
}