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

gtest-179.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b8a170fe72e16663ad232804bfeda6bec4c8cfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class X<T> {
	public static int i {
		get { return 0; }
		private set { }
	}
	public static int myMain ()
	{
		return i++;
	}
}
public class Y {
	public static int Main ()
	{
		return X<Y>.myMain ();
	}
}