Removed DeflateStream.UnmanagedRead Read loop. Fixes #19313.
[mono.git] / mcs / tests / test-primary-ctor-01.cs
1 class Simple(int arg)
2 {
3         int Property {
4                 get {
5                         return arg;
6                 }
7         }
8
9         public static int Main ()
10         {
11                 var c = new Simple (4);
12                 if (c.Property != 4)
13                         return 1;
14
15                 var s = new S (4.3m);
16                 if (s.Property != 4.3m)
17                         return 1;
18
19                 return 0;
20         }
21 }
22
23 struct S(decimal arg)
24 {
25         internal decimal Property {
26                 get {
27                         return arg;
28                 }
29         }
30 }