"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs0236.cs
blob297a7a73aba42433a32be682b4cc60f4ebdc36de
1 // CS0236: A field initializer cannot reference the nonstatic field, method, or property `X.Foo'
2 // Line: 12
4 class X
6 int Foo {
7 get {
8 return 9;
12 long Bar = Foo;
14 static void Main () {