Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0038.cs
1 // CS0038: 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 }