2 using System
.Reflection
;
9 // note: a not modified
15 Console
.WriteLine ("after ctor a is {0}", obj
.a
);
16 Console
.WriteLine ("after ctor v is {0}", obj
.v
);
19 Console
.WriteLine ("a is {0}", obj
.a
);
20 Console
.WriteLine ("v is {0}", obj
.v
);
22 m1
= t
.GetConstructor (Type
.EmptyTypes
);
23 m1
.Invoke (obj
, null);
24 Console
.WriteLine ("after reinit a is {0}", obj
.a
);
25 Console
.WriteLine ("after reinit v is {0}", obj
.v
);
26 /* value not preserved */
29 /* value not reinitialized */