Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0176-4.cs
blob6d4cf4f55e2f6d11f0dd6ff83ac698d283e017be
1 // CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 12
4 public class X {
5 public const double CONST = 1;
8 public class Y: X {
10 void D (X x)
12 double d = x.CONST;