You've already forked linux-packaging-mono
Imported Upstream version 4.0.3.13
Former-commit-id: 4f1f69b42e04def9a697c2550b23b9cae645ef29
This commit is contained in:
@ -131,7 +131,7 @@ namespace System.ServiceModel.Channels
|
||||
return new BinaryMessageEncoderFactory (this);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO]
|
||||
void IWsdlExportExtension.ExportContract (WsdlExporter exporter,
|
||||
WsdlContractConversionContext context)
|
||||
|
@ -137,7 +137,7 @@ namespace System.ServiceModel.Channels
|
||||
|
||||
OperationContext ctx = OperationContext.Current;
|
||||
// FIXME: support more fault code depending on the exception type.
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
// FIXME: set correct fault reason.
|
||||
if (ctx != null && ctx.EndpointDispatcher.ChannelDispatcher.IncludeExceptionDetailInFaults) {
|
||||
ExceptionDetail detail = new ExceptionDetail (error);
|
||||
|
@ -185,7 +185,7 @@ namespace System.ServiceModel.Channels
|
||||
return typeof (TChannel) == typeof (IRequestChannel);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
public override bool CanBuildChannelListener<TChannel> (
|
||||
BindingContext context)
|
||||
{
|
||||
@ -201,7 +201,7 @@ namespace System.ServiceModel.Channels
|
||||
return new HttpChannelFactory<TChannel> (this, context);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
internal static object ListenerBuildLock = new object ();
|
||||
|
||||
public override IChannelListener<TChannel> BuildChannelListener<TChannel> (
|
||||
@ -242,7 +242,7 @@ namespace System.ServiceModel.Channels
|
||||
set { throw new NotImplementedException (); }
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
void IPolicyExportExtension.ExportPolicy (
|
||||
MetadataExporter exporter,
|
||||
PolicyConversionContext context)
|
||||
|
@ -68,7 +68,7 @@ namespace System.ServiceModel.Channels
|
||||
return base.BuildChannelFactory <TChannel> (context);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO]
|
||||
public override IChannelListener<TChannel>
|
||||
BuildChannelListener<TChannel> (
|
||||
@ -83,7 +83,7 @@ namespace System.ServiceModel.Channels
|
||||
return new HttpsTransportBindingElement (this);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
public XmlElement GetTransportTokenAssertion ()
|
||||
{
|
||||
var doc = new XmlDocument ();
|
||||
|
@ -59,7 +59,7 @@ namespace System.ServiceModel.Channels
|
||||
return ctx.GetInnerProperty<T> ();
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO]
|
||||
protected virtual void OnImportPolicy (XmlElement assertion,
|
||||
MessageVersion messageVersion,
|
||||
|
@ -99,7 +99,7 @@ namespace System.ServiceModel.Channels
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
#if !MOBILE && !XAMMAC_4_5
|
||||
void IPolicyExportExtension.ExportPolicy (MetadataExporter exporter, PolicyConversionContext context)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
|
@ -30,7 +30,7 @@ using System.Collections.ObjectModel;
|
||||
using System.ServiceModel.Description;
|
||||
using System.ServiceModel.Channels;
|
||||
using System.ServiceModel.Security;
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
using System.ServiceModel.Channels.Security;
|
||||
using System.IdentityModel.Selectors;
|
||||
using System.IdentityModel.Tokens;
|
||||
@ -44,7 +44,7 @@ namespace System.ServiceModel.Channels
|
||||
{
|
||||
internal SecurityBindingElement ()
|
||||
{
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
DefaultAlgorithmSuite = SecurityAlgorithmSuite.Default;
|
||||
MessageSecurityVersion = MessageSecurityVersion.Default;
|
||||
KeyEntropyMode = SecurityKeyEntropyMode.CombinedEntropy;
|
||||
@ -60,7 +60,7 @@ namespace System.ServiceModel.Channels
|
||||
|
||||
internal SecurityBindingElement (SecurityBindingElement other)
|
||||
{
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
alg_suite = other.alg_suite;
|
||||
key_entropy_mode = other.key_entropy_mode;
|
||||
security_header_layout = other.security_header_layout;
|
||||
@ -79,7 +79,7 @@ namespace System.ServiceModel.Channels
|
||||
LocalClientSettings = other.LocalClientSettings.Clone ();
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
SecurityAlgorithmSuite alg_suite;
|
||||
SecurityKeyEntropyMode key_entropy_mode;
|
||||
SecurityHeaderLayout security_header_layout;
|
||||
@ -93,7 +93,7 @@ namespace System.ServiceModel.Channels
|
||||
|
||||
public LocalClientSecuritySettings LocalClientSettings { get; private set; }
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
public SecurityAlgorithmSuite DefaultAlgorithmSuite {
|
||||
get { return alg_suite; }
|
||||
set { alg_suite = value; }
|
||||
@ -138,7 +138,7 @@ namespace System.ServiceModel.Channels
|
||||
[MonoTODO ("Implement for TransportSecurityBindingElement")]
|
||||
public override bool CanBuildChannelFactory<TChannel> (BindingContext context)
|
||||
{
|
||||
#if NET_2_1
|
||||
#if NET_2_1 || XAMMAC_4_5
|
||||
// not sure this should be like this, but there isn't Symmetric/Asymmetric elements in 2.1 anyways.
|
||||
return context.CanBuildInnerChannelFactory<TChannel> ();
|
||||
#else
|
||||
@ -183,7 +183,7 @@ namespace System.ServiceModel.Channels
|
||||
protected abstract IChannelFactory<TChannel>
|
||||
BuildChannelFactoryCore<TChannel> (BindingContext context);
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO ("Implement for TransportSecurityBindingElement")]
|
||||
public override bool CanBuildChannelListener<TChannel> (BindingContext context)
|
||||
{
|
||||
@ -270,7 +270,7 @@ namespace System.ServiceModel.Channels
|
||||
#endif
|
||||
|
||||
#region Factory methods
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
public static SymmetricSecurityBindingElement
|
||||
CreateAnonymousForCertificateBindingElement ()
|
||||
{
|
||||
@ -559,14 +559,14 @@ namespace System.ServiceModel.Channels
|
||||
CreateUserNameOverTransportBindingElement ()
|
||||
{
|
||||
var be = new TransportSecurityBindingElement ();
|
||||
#if !NET_2_1 // FIXME: there should be whatever else to do for 2.1 instead.
|
||||
#if !NET_2_1 && !XAMMAC_4_5 // FIXME: there should be whatever else to do for 2.1 instead.
|
||||
be.EndpointSupportingTokenParameters.SignedEncrypted.Add (new UserNameSecurityTokenParameters ());
|
||||
#endif
|
||||
return be;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
// It seems almost internal, hardcoded like this (I tried
|
||||
// custom parameters that sets IssuedTokenSecurityTokenParameters
|
||||
// like below ones, but that didn't trigger this method).
|
||||
|
@ -143,7 +143,7 @@ namespace System.ServiceModel.Channels
|
||||
return new TextMessageEncoderFactory (this);
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO]
|
||||
protected override void OnImportPolicy (XmlElement assertion,
|
||||
MessageVersion messageVersion,
|
||||
|
@ -92,7 +92,7 @@ namespace System.ServiceModel.Channels
|
||||
return context.GetInnerProperty<T> ();
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
internal static XmlElement CreateTransportBinding (XmlElement transportToken)
|
||||
{
|
||||
var doc = new XmlDocument ();
|
||||
|
@ -65,7 +65,7 @@ namespace System.ServiceModel.Channels
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
#if !NET_2_1 && !XAMMAC_4_5
|
||||
[MonoTODO]
|
||||
protected override IChannelListener<TChannel>
|
||||
BuildChannelListenerCore<TChannel> (
|
||||
|
Reference in New Issue
Block a user