Update
[mono.git] / mcs / errors / cs0649-2.cs
1 // CS0649: Field `X.y' is never assigned to, and will always have its default value `null'
2 // Line: 10
3 // Compiler options: -warnaserror -warn:4
4
5 class X {
6         Y y;
7
8         Y Value {
9                 get {
10                         return y;
11                 }
12         }
13 }
14
15 struct Y
16 {
17 }