2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0176-3.cs
bloba5cae490af434ba65366ceb2ad75e1b8d6a3de6b
1 // cs0176-3.cs: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 12
3 using System;
5 class A {
6 public static int X;
9 class T {
10 static void Main () {
11 A T = new A ();
12 System.Console.WriteLine (T.X);