[Mono-bugs] [Bug 35128][Nor] New - ToString() produces unexpected text

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
5 Dec 2002 06:21:09 -0000


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 juancri@tagnet.org.

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

--- shadow/35128	Thu Dec  5 01:21:09 2002
+++ shadow/35128.tmp.19269	Thu Dec  5 01:21:09 2002
@@ -0,0 +1,49 @@
+Bug#: 35128
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: juancri@tagnet.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ToString() produces unexpected text
+
+Description of Problem:
+When you call the SubString() method of an int that is a class property 
+(uff) it produces unexpected output.
+
+Steps to reproduce the problem:
+1- Compile the attachment with mono
+2- run it
+
+Actual Results (Output):
+Object hello: 0
+Object hello: 0
+Object hello: 1
+Int hello2: 0
+Int hello2: 0
+Int hello2: 0
+True
+
+Expected Results (Output):
+Object hello: 0
+Object hello: 0
+Object hello: 0
+Int hello2: 0
+Int hello2: 0
+Int hello2: 0
+True
+
+How often does this happen? 
+Always
+
+Additional Information:
+When it's compiled with mcs, it shows 1 in all cases.