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: 961b79f4474778f4efe975e74f8ffce6c47ae558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0176.cs: Static member `X.void_method()' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 15
class X {
	public static void void_method ()
	{
	}
	public void void_method (int i)
	{
	}
}

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