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: 99b7deb1d3361cbe4b4e8395f40a7c6b6b9d91c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs1510-2.cs: A ref or out argument must be an assignable variable
// 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);
	}
}