if (customBuilder == null)
throw new ArgumentNullException ("customBuilder");
- string attrname = customBuilder.Ctor.ReflectedType.FullName;
+ string attrname = customBuilder.Ctor.ReflectedType.ToString ();
if (attrname == "System.Runtime.CompilerServices.MethodImplAttribute") {
byte[] data = customBuilder.Data;
int impla; // the (stupid) ctor takes a short or an int ...
+2005-06-13 Martin Baulig <martin@ximian.com>
+
+ * MonoType.cs
+ (MonoType.getFullName): Added `bool assembly_qualified' argument.
+ (MonoType.AssemblyQualifiedName): The interncall now adds the
+ assembly name, so we don't need to do it here.
+ (MonoType.FullName): Use the new getFullName() API for 2.0.
+
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Convert.cs: FromBase64String and FromBase64CharArray are now internal
* Changes which are already detected at runtime, like the addition
* of icalls, do not require an increment.
*/
- private const int mono_corlib_version = 37;
+ private const int mono_corlib_version = 38;
[MonoTODO]
public enum SpecialFolder
public override string AssemblyQualifiedName {
get {
- return getFullName (false) + ", " + Assembly.UnprotectedGetName ().ToString ();
+ return getFullName (true, true);
}
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
- private extern string getFullName(bool full_name);
+ private extern string getFullName(bool full_name, bool assembly_qualified);
public extern override Type BaseType {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public override string FullName {
get {
- return getFullName (false);
+#if NET_2_0 || BOOTSTRAP_NET_2_0
+ return getFullName (true, false);
+#else
+ return getFullName (false, false);
+#endif
}
}
public override string ToString()
{
- return getFullName (true);
+ return getFullName (false, false);
}
#if NET_2_0 || BOOTSTRAP_NET_2_0