[Mono-bugs] [Bug 80392][Wis] Changed - AsyncResult broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 28 22:42:18 EST 2006


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 miguel at ximian.com.

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

--- shadow/80392	2006-12-28 22:26:55.000000000 -0500
+++ shadow/80392.tmp.11925	2006-12-28 22:42:18.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 80392
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: alan.mcgovern at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -56,6 +56,25 @@
         s2.Dispose();
         File.Delete("tempFile.temp");
         Console.WriteLine("You should have seen an exception");
         Console.ReadLine();
     }
 }
+
+------- Additional Comments From miguel at ximian.com  2006-12-28 22:42 -------
+This only happens with the 2.0 framework.
+
+the error (after removing the Disposes and the Delete) is:
+
+quack$ ./js.exe
+System.InvalidOperationException: The IAsyncResult object provided
+does not match this delegate.
+   at
+System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message
+reqMsg, Boolean bProxyCase)
+   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object
+NotUsed, MessageData& msgData)
+   at System.IO.Stream.ReadDelegate.EndInvoke(IAsyncResult result)
+   at System.IO.Stream.EndRead(IAsyncResult asyncResult)
+   at System.IO.FileStream.EndRead(IAsyncResult asyncResult)
+   at Borked.Main(String[] args)
+You should have seen an exception


More information about the mono-bugs mailing list