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=79858 --- shadow/79858 2006-11-07 06:11:11.000000000 -0500 +++ shadow/79858.tmp.10896 2006-11-07 06:26:18.000000000 -0500 @@ -1,14 +1,14 @@ Bug#: 79858 Product: Mono: Class Libraries Version: 1.1 -OS: +OS: unknown OS Details: Gentoo 2006.1 (kernel 2.6.18) -Status: NEW +Status: NEEDINFO Resolution: -Severity: +Severity: Unknown Priority: Wishlist Component: System AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -24,6 +24,28 @@ Random r = new Random(); for (int i=0; i<100; i++) Console.WriteLine("rand: {0}", r.Next()); ..and it will print both positive and negative numbers... + +------- Additional Comments From [EMAIL PROTECTED] 2006-11-07 06:26 ------- +With your code it never prints negative numbers. And as long as I read +Random.cs it would not happen. + +Full code I tried, to make sure: + +-------- +using System; + +public class TEst +{ + public static void Main () + { +Random r = new Random(); + +for (int i=0; i<100; i++) + Console.WriteLine("rand: {0}", r.Next()); + } +} + +Maybe you could provide the complete repro code? _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
