2009-07-16 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-initialize-03.cs
blobbc85cdfbc3ea0bdc5affc6a26f1f901bf24e7150
3 using System;
4 using System.Collections;
6 class Data
8 public int Value;
11 public class Test
13 static Data Prop {
14 set {
18 public object Foo ()
20 return new Data () { Value = 3 };
23 static void Main ()
25 Prop = new Data () { Value = 3 };
26 Data data = new Data () { Value = 6 };
27 Data a, b;
28 a = b = new Data () { Value = 3 };