[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



           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/ Safari/532.5

In mono 2.4

csharp> System.Console.WriteLine("".PadRight(12, '0'));

Mono 2.6

csharp> System.Console.WriteLine("".PadRight(12, '0'));

csharp> System.Console.WriteLine("".PadRight(12, '0').Length);

Reproducible: Always

Steps to Reproduce:
System.Console.WriteLine("".PadRight(12, '0'));
Actual Results:  
empty string

Expected Results:  

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