[Mono-bugs] [Bug 62234][Cri] New - bug on command function

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 1 Aug 2004 17:46:15 -0400 (EDT)


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 smeegoan@yahoo.com.br.

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

--- shadow/62234	2004-08-01 17:46:15.000000000 -0400
+++ shadow/62234.tmp.16136	2004-08-01 17:46:15.000000000 -0400
@@ -0,0 +1,63 @@
+Bug#: 62234
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: VB Runtime
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: smeegoan@yahoo.com.br               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: bug on command function
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. compile the following code:
+Module Module1
+
+    Sub Main()
+        Console.WriteLine(Command)
+    End Sub
+
+End Module
+
+2. run with mono:
+C:\Documents and Settings\Pedro\Os meus documentos\Visual Studio
+Projects\NET\Co
+nsoleApplication1\bin>mono bug.exe -test
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+rang
+e.
+Parameter name: startIndex + count > value.length
+in <0x000c8> System.String:Join (string,string[],int,int)
+in <0x00040> Microsoft.VisualBasic.Interaction:Command ()
+in <0x0000a> ConsoleApplication1.Module1:Main ()
+
+
+3. run with .net:
+C:\Documents and Settings\Pedro\Os meus documentos\Visual Studio
+Projects\NET\Co
+nsoleApplication1\bin>bug.exe -test
+-test
+
+Actual Results: Application crashes on mono
+
+
+Expected Results: Should return -test
+
+
+How often does this happen? 
+always
+
+Additional Information: