X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.ServiceModel%2FSystem.ServiceModel.Channels%2FTextMessageEncodingBindingElement.cs;h=81379d4212b955e89adc07c676722176952de069;hb=dedaecf9c50ac78ca2791e61e287118b1e59506a;hp=50b2590acb39c636958957049e4e981b84125161;hpb=bdd0809c70020fc9c381c4310c346368e195fe76;p=mono.git diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/TextMessageEncodingBindingElement.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/TextMessageEncodingBindingElement.cs index 50b2590acb3..81379d4212b 100644 --- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/TextMessageEncodingBindingElement.cs +++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/TextMessageEncodingBindingElement.cs @@ -104,6 +104,7 @@ namespace System.ServiceModel.Channels return base.BuildChannelFactory (context); } +#if !NET_2_1 public override IChannelListener BuildChannelListener ( BindingContext context) { @@ -120,6 +121,7 @@ namespace System.ServiceModel.Channels throw new ArgumentNullException ("context"); return context.CanBuildInnerChannelListener (); } +#endif public override BindingElement Clone () { @@ -138,6 +140,7 @@ namespace System.ServiceModel.Channels return new TextMessageEncoderFactory (this); } +#if !NET_2_1 [MonoTODO] protected override void OnImportPolicy (XmlElement assertion, MessageVersion messageVersion, @@ -167,5 +170,6 @@ namespace System.ServiceModel.Channels { throw new NotImplementedException (); } +#endif } }