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

cs0841.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba1f977a53d0c51dc83961473e7e6b77c13303e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0841: A local variable `y' cannot be used before it is declared
// Line: 8

public class C
{
	public static void Main ()
	{
	    const int x = y;
	    const int y = 1;
	}
}