Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs0176-3.cs
blob19df1ba3c8117741b4b8895b9732df65aa85ec88
1 // CS0176: 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);