2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0236.cs
blob5d29a695c28c324e50beaea627bad56bd357c265
1 // cs0236.cs: 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 () {