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

using System;
class X {
	E e;

	E Value {
		get {
			return e;
		}
	}
}

enum E
{
	Foo
}