2004-07-17 Martin Baulig <martin@ximian.com>
- * decl.cs (MemberName.MakeName): Create the "class`1" names here;
- use an exclamation mark (!) instead of backticks (`) again.
+ * decl.cs (MemberName.MakeName): Create the "class`1" names here.
2004-07-16 Martin Baulig <martin@ximian.com>
if (args == null)
return name;
else
- return name + "!" + args.Count;
+ return name + "`" + args.Count;
}
public static string MakeName (string name, int count)
{
- return name + "!" + count;
+ return name + "`" + count;
}
public string GetTypeName ()
public string Basename {
get {
- int pos = name.LastIndexOf ('!');
+ int pos = name.LastIndexOf ('`');
if (pos >= 0)
return name.Substring (0, pos);
else
//
// Generic types
//
- "System.Collections.Generic.IEnumerator!1",
- "System.Collections.Generic.IEnumerable!1"
+ "System.Collections.Generic.IEnumerator`1",
+ "System.Collections.Generic.IEnumerable`1"
};
foreach (string iname in interfaces_first_stage)