if (customBuilder == null)
throw new ArgumentNullException ("customBuilder");
- string attrname = customBuilder.Ctor.ReflectedType.ToString ();
+ string attrname = customBuilder.Ctor.ReflectedType.FullName;
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 = 38;
+ private const int mono_corlib_version = 37;
[MonoTODO]
public enum SpecialFolder
public override string AssemblyQualifiedName {
get {
- return getFullName (true, true);
+ return getFullName (false) + ", " + Assembly.UnprotectedGetName ().ToString ();
}
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
- private extern string getFullName(bool full_name, bool assembly_qualified);
+ private extern string getFullName(bool full_name);
public extern override Type BaseType {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public override string FullName {
get {
-#if NET_2_0 || BOOTSTRAP_NET_2_0
- return getFullName (true, false);
-#else
- return getFullName (false, false);
-#endif
+ return getFullName (false);
}
}
public override string ToString()
{
- return getFullName (false, false);
+ return getFullName (true);
}
#if NET_2_0 || BOOTSTRAP_NET_2_0