Merge pull request #1349 from martinjt/MachineKeyProtect
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Dispatcher / ReplyHandler.cs
index e64dd2fb8fb75945f9584d316bd2d30d85cb4b3b..59f9622ee5863fafa38ccefa716006361b293ca4 100644 (file)
@@ -1,4 +1,5 @@
-using System;
+/*
+using System;
 using System.Collections.Generic;
 using System.Text;
 using System.ServiceModel.Channels;
@@ -18,7 +19,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)
@@ -29,3 +30,4 @@ namespace System.ServiceModel.Dispatcher
                }
        }
 }
+*/