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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77863 --- shadow/77863 2006-03-21 07:58:39.000000000 -0500 +++ shadow/77863.tmp.11827 2006-03-21 07:58:39.000000000 -0500 @@ -0,0 +1,42 @@ +Bug#: 77863 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: Ubuntu 5.10 +Status: NEW +Resolution: +Severity: +Priority: Major +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: FileStream class doesn't seek correctly after accessing a property + +Please fill in this template when reporting a bug, unless you know what you +are doing. + +Description of Problem: if you access a property like .Lenght or .Position +in a FileStream object, the Seek is lost. + +Steps to reproduce the problem: +1. Run the code you find in the attachment. +2. Run again commenting the line +"Console.WriteLine(Convert.ToInt32(fs.Length));" + +Actual Results: +Bytes read are zero. + +Expected Results: +It should read at least 22 bytes. + +How often does this happen? +ALWAYS. + +Additional Information: +If you run this code commenting the line +"Console.WriteLine(Convert.ToInt32(fs.Length));" the code runs without any +strange behaviour. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
