Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79013 --- shadow/79013 2006-08-04 16:24:43.000000000 -0400 +++ shadow/79013.tmp.17928 2006-08-04 16:26:16.000000000 -0400 @@ -21,6 +21,25 @@ Passing a decimal? parameter to a method that accepts long?, int?, short? or byte? or their unsigned versions, or passing one of these to a method that accepts a decimal? provokes an infinite loop in Mono.CSharp.Convert.ImplicitStandardConversionExists, causing a stack overflow when compiling. + +------- Additional Comments From [EMAIL PROTECTED] 2006-08-04 16:26 ------- +using System; + +class Global { + static void Main() { + Console.Write(Test1((decimal?)2)); + //or + Console.Write(Test2((int?)2)); + } + + static string Test1(int? value) { + return "ok"; + } + + static string Test2(decimal? value) { + return "ok"; + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
