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

cs0120.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 817b2d5ea35d9a4c2a0313940ef7c1ce628ba1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0120: Ie, a static method invoking a non-static method
// `An object reference is required for the nonstatic field, method or property test.method()
// Line: 11

class test {

	void method ()
	{
	}
       
	public static int Main (string [] args){
		method ();
		return 1;
	}
}