summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0649.cs
blob: af96084fdd1b6ba37ac01efe8de010055328f406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0649: Field `X.s' is never assigned to, and will always have its default value `null'
// Line: 4
// Compiler options: -warnaserror -warn:4

class X {
	string s;

	string Value {
		get {
			return s;
		}
	}
}