public Object CreateInstance (String typeName, Boolean ignoreCase)
{
- Type t = GetType (typeName, true, ignoreCase);
+ Type t = GetType (typeName, false, ignoreCase);
+ if (t == null)
+ return null;
+
return Activator.CreateInstance (t);
}
Object[] args, CultureInfo culture,
Object[] activationAttributes)
{
- Type t = GetType (typeName, true, ignoreCase);
+ Type t = GetType (typeName, false, ignoreCase);
+ if (t == null)
+ return null;
+
return Activator.CreateInstance (t, bindingAttr, binder, args, culture, activationAttributes);
}
+2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * Assembly.cs: fixed bug #42833.
+
2003-05-11 Miguel de Icaza <miguel@ximian.com>
* Binder.cs (ChangeType): Very simplistic change. Am not sure if