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

cs0176.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 889971fc1172b936b5d0f6273e005f2ba660b034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0176.cs: cannot be accessed with an instance reference, use typename instead
// Line: 12
class X {
	public static void void_method ()
	{
	}
}

class Y {
	void m (X arg)
	{
		arg.void_method ();
	}
}