Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0038.cs
blob822e4a4f26d874972619814fd5a66bd0692424de
1 // CS0038: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'
2 // Line: 15
3 using System;
5 class X
7 int a = 5;
9 class Y
11 public long b;
13 public Y ()
15 Console.WriteLine (a);
19 static void Main ()