[Mono-bugs] [Bug 565602] New: string.PadRight(int, char) returns empty string
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Dec 17 08:40:22 EST 2009
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: mono-bugs at lists.ximian.com
ReportedBy: latifer at streamgrid.net
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list