Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs0120-4.cs
blob3efae67aa1ec1b8c7d9e3472e19251665c9053e1
1 // CS0120: An object reference is required to access non-static member `X.Y'
2 // Line: 11
4 using System;
6 class X {
7 // Public properties and variables.
8 public string Y;
10 // Constructors.
11 public X()
15 // Public static methods.
16 public static void Main(string[] Arguments)
18 X.Y = "";