[Mono-bugs] [Bug 597604] New: String.IndexOf(String.Empty, index, StringComparison.CurrentCultureIgnoreCase) returns 0 instead of index

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 18 02:19:01 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=597604

http://bugzilla.novell.com/show_bug.cgi?id=597604#c0


           Summary: String.IndexOf(String.Empty,index,StringComparison.Cur
                    rentCultureIgnoreCase) returns 0 instead of index
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: HowsTheSerenityNow at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
NET CLR 3.5.30729)

eg 
  "foo".IndexOf("",1,System.StringComparison.CurrentCultureIgnoreCase)

Returns 0 it should return 1


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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