2004-11-15 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Mon, 15 Nov 2004 04:49:07 +0000 (04:49 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 15 Nov 2004 04:49:07 +0000 (04:49 -0000)
* decl.cs (MemberName.GetPartialName): Removed, use GetTypeName() instead.

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

mcs/gmcs/ChangeLog
mcs/gmcs/decl.cs
mcs/gmcs/namespace.cs

index 5be5d28f8fb9e7afc100bd1fc99e27e054f1ea38..bfd255a0c6893909494e9c87187ebccdb823b343 100755 (executable)
@@ -1,3 +1,7 @@
+2004-11-15  Martin Baulig  <martin@ximian.com>
+
+       * decl.cs (MemberName.GetPartialName): Removed, use GetTypeName() instead.
+
 2004-11-11  Martin Baulig  <martin@ximian.com>
 
        * typemanager.cs (TypeManager.GetMethodName): New method.
index 857b3f9f4da502e0572b62e6d6fe3ec80b2ad26a..c31f9f3b3e96b77639c43f22a1ac2f3b2bdd7a83 100755 (executable)
@@ -90,28 +90,11 @@ namespace Mono.CSharp {
                public string GetMethodName ()
                {
                        if (Left != null)
-                               return Left.GetPartialName () + "." + Name;
+                               return Left.GetTypeName () + "." + Name;
                        else
                                return Name;
                }
 
-               ///
-               /// This returns exclusively the name as seen on the source code
-               /// it is not the fully qualifed type after resolution
-               ///
-               public string GetPartialName ()
-               {
-                       string full_name;
-                       if (TypeArguments != null)
-                               full_name = Name + "<" + TypeArguments + ">";
-                       else
-                               full_name = Name;
-                       if (Left != null)
-                               return Left.GetPartialName () + "." + full_name;
-                       else
-                               return full_name;
-               }
-
                public static string MakeName (string name, TypeArguments args)
                {
                        if (args == null)
index 5fe15a2c947c6e2442c6972ce881602566ede707..f7d754263e27ce1e4040784cbc1678251572f94e 100755 (executable)
@@ -627,7 +627,7 @@ namespace Mono.CSharp {
                                                continue;
                                        }
 
-                                       error246 (entry.Location, entry.Alias.GetPartialName ());
+                                       error246 (entry.Location, entry.Alias.GetTypeName ());
                                }
                        }
                }