2005-04-12 Dick Porter <dick@ximian.com>
[mono.git] / mcs / errors / cs0038.cs
1 // cs0038.cs: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'.
2 // line: 15
3 using System;
4
5 class X
6 {
7         int a = 5;
8
9         class Y
10         {
11                 public long b;
12
13                 public Y ()
14                 {
15                         Console.WriteLine (a);
16                 }
17         }
18
19         static void Main ()
20         {
21         }
22 }