[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-autoproperty-18.cs
blobd1e47f7725fba5ebd44300fb57e855652082bfcb
1 using System;
3 public class A
5 public int Type { get; }
7 public A ()
9 Type = 2;
13 public class B
15 static int Type { get; }
17 static B ()
19 Type = 1;
22 static int Main ()
24 if (Type != 1)
25 return 1;
27 var a = new A ();
28 if (a.Type != 2)
29 return 2;
31 return 0;