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

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

class C
{
	string s;

	public void Test ()
	{
		s = "x";
		string s = "a";
	}
}