From 1802414280a372e3856adc715279f5777bc77654 Mon Sep 17 00:00:00 2001 From: Marcos Henrich Date: Mon, 14 Mar 2016 15:51:39 +0000 Subject: [PATCH] [System.ServiceModel] Fixes reflection call to undefined method This fixes an issue while using WCF on android. Fixes #36080 --- .../System.ServiceModel/EndpointAddress10.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress10.cs b/mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress10.cs index 361a049e6e6..862830b0c76 100644 --- a/mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress10.cs +++ b/mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress10.cs @@ -65,7 +65,6 @@ namespace System.ServiceModel return new EndpointAddress10 (address); } -#if !NET_2_1 public static XmlQualifiedName GetSchema (XmlSchemaSet xmlSchemaSet) { if (xmlSchemaSet == null) @@ -73,7 +72,6 @@ namespace System.ServiceModel xmlSchemaSet.Add (XmlSchema.Read (typeof (EndpointAddress10).Assembly.GetManifestResourceStream ("ws-addr.xsd"), null)); return new XmlQualifiedName ("EndpointReferenceType", AddressingVersion.WSAddressing10.Namespace); } -#endif public EndpointAddress ToEndpointAddress () { -- 2.25.1