[w32file] Remove dead code
[mono.git] / mcs / errors / cs0236-3.cs
1 // CS0236: A field initializer cannot reference the nonstatic field, method, or property `Test.o1'
2 // Line: 8
3 delegate void Foo ();
4
5 class Test
6 {
7         object o1;
8
9         Foo h = delegate () {
10                 o1 = null;
11         };
12 }
13