7a88a0d952a9d23e2bc16f7f834a43383a60511a
[mono.git] / mcs / tests / test-584.cs
1 public class Style
2 {
3         public static Style CurrentStyle
4         {
5                 get { return null; }
6                 set { }
7         }
8
9         private static bool LoadCurrentStyle ()
10         {
11                 return ((CurrentStyle = Load ()) != null);
12         }
13
14         public static Style Load ()
15         {
16                 return null;
17         }
18         
19         public static int Main ()
20         {
21                 return LoadCurrentStyle () ? 1 : 0;
22         }       
23 }