[Mono-bugs] [Bug 75688][Nor] New - The InStrRev method returns -1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 2 09:48:36 EDT 2005


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 spek at impaq.com.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=75688

--- shadow/75688	2005-08-02 09:48:36.000000000 -0400
+++ shadow/75688.tmp.16623	2005-08-02 09:48:36.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 75688
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: Fedora Core
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: VB Runtime
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: spek at impaq.com.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: The InStrRev method returns -1
+
+Description of Problem:
+The  Microsoft.VisualBasic.Strings.InStrRev method returns incorrect value.
+
+Steps to reproduce the problem:
+Run following sample:
+Dim LogFileName As String = "c:\aaa\bbb\ccc.log"
+Dim i As Integer = InStrRev(LogFileName, Path.DirectorySeparatorChar, , 
+CompareMethod.Text)
+Console.WriteLine("i: " & i)
+
+Actual Results:
+i: -1
+
+Expected Results:
+i: 11
+
+How often does this happen? 
+
+
+Additional Information:
+This bug is a detail information to the big #75555


More information about the mono-bugs mailing list