GenericParameter.cs: override Module properly
[mcs.git] / tests / test-278.cs
blob1a6fa7e49d37a5c469d837d2da5b390c3448169f
1 using System;
3 struct Rect {
4 int x;
6 public int X { get { return x; } set { x = value; } }
9 class X {
10 static int Main ()
12 Rect rect = new Rect ();
13 rect.X += 20;
14 Console.WriteLine ("Should be 20: " + rect.X);
15 return rect.X == 20 ? 0 : 1;