* SoapTypeAttribute.cs: Reverted last change. MS.NET don't return the full
authorLluis Sanchez <lluis@novell.com>
Thu, 1 Apr 2004 14:30:54 +0000 (14:30 -0000)
committerLluis Sanchez <lluis@novell.com>
Thu, 1 Apr 2004 14:30:54 +0000 (14:30 -0000)
  assembly name.

svn path=/trunk/mcs/; revision=24907

mcs/class/corlib/System.Runtime.Remoting.Metadata/ChangeLog
mcs/class/corlib/System.Runtime.Remoting.Metadata/SoapTypeAttribute.cs

index a4b3643007e31a34f74d00bc8bb099478aee6181..0c9477f605ad9c1e3f958be7258437cad20b0233 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * SoapTypeAttribute.cs: Reverted last change. MS.NET don't return the full
+         assembly name.
+
 2003-12-10  Lluis Sanchez Gual  <lluis@ximian.com>
 
        * SoapTypeAttribute.cs: Use full namespace name.
index a5a189156dea4bf675d4270a3e31185c4f82c5e4..6c7b4e9cdbf8e623646579eb8fcd189302162eec 100644 (file)
@@ -129,7 +129,7 @@ namespace System.Runtime.Remoting.Metadata {
                        {
                                string na;
                                if (type.Assembly == typeof (object).Assembly) na = string.Empty;
-                               else na = type.Assembly.FullName;
+                               else na = type.Assembly.GetName().Name;
                                _xmlTypeNamespace = SoapServices.CodeXmlNamespaceForClrTypeNamespace (type.Namespace, na);
                        }