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

cs1510-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 888d5079d06604d2a4b8773f378bf9b482845773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs1510-2.cs: an lvalue is required for ref or out argument
// Line: 14
// this is bug #56016

using System;

class Test {
	static void test(ref IConvertible i) {
	}
	
	static void Main() {
		int i = 1;

		test (ref (IConvertible) i);
	}
}