Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

27 lines
306 B
C#

// CS0120: An object reference is required to access non-static member `X.Y'
// Line: 11
using System;
class X {
// Public properties and variables.
public string Y;
// Constructors.
public X()
{
}
// Public static methods.
public static void Main(string[] Arguments)
{
X.Y = "";
}
}