+2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ReplyChannelBase.cs : fix wrong null delegate check point.
+
2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
public virtual bool EndTryReceiveRequest (IAsyncResult result)
{
- if (try_recv_delegate == null)
- throw new InvalidOperationException ("BeginTryReceiveRequest operation has not started");
RequestContext dummy;
return EndTryReceiveRequest (result, out dummy);
}
public virtual bool EndTryReceiveRequest (IAsyncResult result, out RequestContext context)
{
+ if (try_recv_delegate == null)
+ throw new InvalidOperationException ("BeginTryReceiveRequest operation has not started");
return try_recv_delegate.EndInvoke (out context, result);
}