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

cs1620.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de8623160f3025fda4d74e73581a560b59874a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1620: Argument '1' must be passed with the 'out' keyword
// Line: 13

class C
{
	public static void test (out int i)
	{
		i = 5;
	}

	public static void Main() {
		int i = 1;
		test (ref i);
	}
}