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

cs0165-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61080b293875a29c4f858265cc35babf091c9ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class T {
	void fun (ref int a)
	{
		if (a == 3)
		a = 2;
	}

	void x ()
	{
		int x;

		if (System.Console.Read () == 1)
			x = 1;
		fun (ref x);
	}
}