blob: 6d4cf4f55e2f6d11f0dd6ff83ac698d283e017be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 12
public class X {
public const double CONST = 1;
}
public class Y: X {
void D (X x)
{
double d = x.CONST;
}
}
|