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

cs1510.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4feba3810f6e99085221e1ebb3e655e7390855ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1510: an lvalue is required for ref or out argument
// Line: 11
class X {
	public static void m (ref int i)
	{
		i++;
	}

	static void Main ()
	{
		m (ref 4);
	}
}