projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
cs0236.cs
1
// cs0236.cs: A field initializer cannot reference the nonstatic field, method, or property `X.Foo'
2
// Line: 12
3
4
class X
5
{
6
int Foo {
7
get {
8
return 9;
9
}
10
}
11
12
long Bar = Foo;
13
14
static void Main () {
15
}
16
}
17