codeowners update
[mono.git] / mcs / errors / cs1060-3.cs
1 // CS1060: Use of possibly unassigned field `c'
2 // Line: 25
3 // Compiler options: -warnaserror
4
5 using System;
6
7 public class C
8 {
9         public EventHandler v;
10 }
11
12 public struct S2
13 {
14         public C c;
15 }
16
17 public struct S
18 {
19         public S2 s2;
20 }
21
22 public class Test
23 {
24         static void Main ()
25         {
26                 S s;
27                 s.s2.c.v = null;
28         }
29 }