[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0038-3.cs
blob45d88389143344c54341d226e89fa8cb8a3ef632
1 // CS0038: Cannot access a nonstatic member of outer type `A' via nested type `B.C'
2 // Line: 15
4 public class A {
5 public int Foo { get { return 1; } }
8 public class B : A {
9 public static void Main ()
13 public class C {
14 public void Baz ()
16 int x = Foo;