repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0236.cs
blob
5d29a695c28c324e50beaea627bad56bd357c265
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