[Mono-bugs] [Bug 51847][Wis] New - strings are magically turned into IntPtrSteams

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 7 Dec 2003 22:39:00 -0500 (EST)


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

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

--- shadow/51847	2003-12-07 22:38:59.000000000 -0500
+++ shadow/51847.tmp.24649	2003-12-07 22:39:00.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 51847
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: orphennui@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: strings are magically turned into IntPtrSteams
+
+I have a struct that contains valid & regular strings, and at somepoint
+without the code doing anything the runtime seems to be reassigning the
+value to a System.IO.IntPtrStream.  
+
+I say the runtime because assigning this should cause an exception from
+regular code.  
+
+It seems refcount related since if I assign the value of the string to
+another varable soon after the struct is created, its value is never
+swapped for a System.IO.IntPtrStream.