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

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

class X
{
	static int y;
	static void Main () {
		y = 10;
		int y = 5;
	}
}