Imported Upstream version 4.4.2.4

Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-07-21 09:40:10 +00:00
parent 589d484eee
commit 0b4a830db1
343 changed files with 9849 additions and 688 deletions

View File

@ -27,7 +27,9 @@
//
using System;
using System.Collections.Generic;
#if !MOBILE && !XAMMAC_4_5
using System.IdentityModel.Claims;
#endif
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Xml;
@ -37,6 +39,7 @@ namespace System.ServiceModel
{
public class DnsEndpointIdentity : EndpointIdentity
{
#if !MOBILE && !XAMMAC_4_5
public DnsEndpointIdentity (Claim identity)
{
Initialize (identity);
@ -46,5 +49,11 @@ namespace System.ServiceModel
: this (Claim.CreateDnsClaim (dns))
{
}
#else
public DnsEndpointIdentity (string dns)
{
throw new NotImplementedException ();
}
#endif
}
}