Fix mobile build (breakage caused by referencesource switch).
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 31 Mar 2015 08:25:12 +0000 (17:25 +0900)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 24 Apr 2015 05:36:50 +0000 (14:36 +0900)
mcs/class/System.ServiceModel.Web/mobile_System.ServiceModel.Web.dll.sources
mcs/class/System.ServiceModel/System.ServiceModel.Description/MessageDescription.cs

index f3b3bc0933df511651dba3baca09ac1ab5f3821f..0140f3c1b5856f231c99771f92b7e29602f8cc33 100644 (file)
@@ -1,3 +1,6 @@
+../../build/common/Consts.cs
+../../build/common/Locale.cs
+../../build/common/MonoTODOAttribute.cs
 Assembly/AssemblyInfo.cs
 Assembly/TypeForwarders.cs
 System.ServiceModel.Channels/WebBodyFormatMessageProperty.cs
index dccf9bedfba17297d994ab083bd32a61ce5b8d21..130f13fbebe8a4faf15b9706e1d98796fb3ec03c 100644 (file)
@@ -99,17 +99,6 @@ namespace System.ServiceModel.Description
 
                #region internals required for moonlight compatibility
 
-#if NET_2_1  // it uses S.R.Serialization internals which is InternalVisible to this assembly only in 2.1. So, DON'T use this member in full 2.0 profile.
-               XmlName msg_name;
-               internal XmlName MessageName {
-                       get {
-                               if (msg_name == null)
-                                       msg_name = new XmlName (KnownTypeCollection.GetStaticQName (MessageType).Name);
-                               return msg_name;
-                       }
-               }
-#endif
-
                internal bool IsTypedMessage {
                        get { return MessageType == null; }
                }