[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / gtest-392.cs
blob6109d62b2b65845d4a1ce9648e5220236c696f57
1 using System;
3 public class DieSubrangeType
5 public int? UpperBound
7 get;
8 private set;
11 public DieSubrangeType ()
13 UpperBound = 1;
17 class X
19 public static int Main ()
21 DieSubrangeType subrange = new DieSubrangeType ();
22 Console.WriteLine (subrange.UpperBound != null);
23 Console.WriteLine ((int) subrange.UpperBound);
24 return (int) subrange.UpperBound - 1;