a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
256 B
C#
18 lines
256 B
C#
// CS0038: Cannot access a nonstatic member of outer type `B' via nested type `B.C'
|
|
// Line: 14
|
|
|
|
public class B {
|
|
public static void Main ()
|
|
{
|
|
}
|
|
|
|
public int Foo { get { return 1; } }
|
|
|
|
public class C {
|
|
public void Baz ()
|
|
{
|
|
int x = Foo;
|
|
}
|
|
}
|
|
}
|