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