http://bugzilla.novell.com/show_bug.cgi?id=565602
http://bugzilla.novell.com/show_bug.cgi?id=565602#c0 Summary: string.PadRight(int, char) returns empty string Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: x86 OS/Version: Ubuntu Status: NEW Severity: Major Priority: P5 - None Component: System AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5 In mono 2.4 csharp> System.Console.WriteLine("".PadRight(12, '0')); 000000000000 Mono 2.6 csharp> System.Console.WriteLine("".PadRight(12, '0')); 000000000000 csharp> System.Console.WriteLine("".PadRight(12, '0').Length); 0 Reproducible: Always Steps to Reproduce: System.Console.WriteLine("".PadRight(12, '0')); Actual Results: empty string Expected Results: 000000000000 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
