diff options
author | Sebastien Pouliot <sebastien@xamarin.com> | 2014-01-14 19:12:11 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@xamarin.com> | 2014-01-14 19:12:11 +0400 |
commit | 24a220f37337f1dacc3217fc44bc078ed0afd815 (patch) | |
tree | a879bb16081186bc93f75c7a1c87aba9ed269c72 /mcs | |
parent | b7c10a7c1d8c6d4d896b0147945c87dd465af2d6 (diff) |
The mobile profile can support IBindingRuntimePreferences on WebHttpBinding. Fix one S.SM.W unit test failure for XI
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs b/mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs index 96beea59c41..32d9e3606bf 100644 --- a/mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs +++ b/mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs @@ -38,12 +38,7 @@ using System.ServiceModel.Configuration; namespace System.ServiceModel { - public class WebHttpBinding -#if NET_2_1 - : Binding -#else - : Binding, IBindingRuntimePreferences -#endif + public class WebHttpBinding : Binding, IBindingRuntimePreferences { public WebHttpBinding () : this (String.Empty) @@ -211,11 +206,9 @@ namespace System.ServiceModel return new BindingElementCollection (new BindingElement [] { msgenc, t.Clone () }); } -#if !NET_2_1 bool IBindingRuntimePreferences.ReceiveSynchronously { get { return receive_synchronously; } } -#endif #if NET_4_0 [EditorBrowsable (EditorBrowsableState.Advanced)] |