* ReplyHandler.cs : there is better way to check IsOneWay. svn path=/trunk/mcs/; revision=139322
@@ -1,3 +1,7 @@
+2009-08-04 Atsushi Enomoto <[email protected]>
+
+ * ReplyHandler.cs : there is better way to check IsOneWay.
2009-08-04 Atsushi Enomoto <[email protected]>
* OperationInvokerHandler.cs : One way operation has no reply.
@@ -18,7 +18,7 @@ namespace System.ServiceModel.Dispatcher
protected override bool ProcessRequest (MessageProcessingContext mrc)
{
// if IsOneWay then no need to handle reply
- if (mrc.ReplyMessage == null)
+ if (mrc.Operation.IsOneWay)
return false;
if (duplex != null)