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-2.cs
blob
01745910ac45e1ae19d318c5b4551598fdcc21af
1
// cs0236-2.cs: A field initializer cannot reference the nonstatic field, method, or property `C1.CC'
2
// Line: 11
3
4
class
C1
5
{
6
public double
CC
=
0
;
7
}
8
9
class
C2
10
{
11
public static readonly double
X_Small2
=
C1
.
CC
;
12
}