add ISafeSerializationData
[mcs.git] / tests / gtest-initialize-07.cs
blobf2e6f485fd023e172fce6a7b8514dac650cac006
1 public class A
3 public string Name { get; set; }
5 public bool Matches (string s)
7 return Name == s;
11 class M
13 public static int Main ()
15 if (!new A () { Name = "Foo" }.Matches ("Foo"))
16 return 1;
18 return 0;