Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2002-02-11 18:00:06 +0300
committerPaolo Molaro <lupus@oddwiz.org>2002-02-11 18:00:06 +0300
commit483b71106235782258462d92251e67e76f974ed0 (patch)
tree268a713ee6bf66211f999dfb6cd9ef658c50ece1
parent946536dd9abd4d74566f2c3ed7c652844c9bffef (diff)
Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
* Assembly.cs: handle throwOnError in GetType() call. svn path=/trunk/mcs/; revision=2317
-rw-r--r--mcs/class/corlib/System.Reflection/Assembly.cs11
-rw-r--r--mcs/class/corlib/System.Reflection/ChangeLog5
2 files changed, 10 insertions, 6 deletions
diff --git a/mcs/class/corlib/System.Reflection/Assembly.cs b/mcs/class/corlib/System.Reflection/Assembly.cs
index 41854bfaeaf..5da399cbd02 100644
--- a/mcs/class/corlib/System.Reflection/Assembly.cs
+++ b/mcs/class/corlib/System.Reflection/Assembly.cs
@@ -163,13 +163,12 @@ namespace System.Reflection {
return GetType (name, throwOnError, false);
}
- [MethodImplAttribute (MethodImplOptions.InternalCall)]
- public extern virtual Type GetType (String name);
-
- public Type GetType (String name, Boolean throwOnError, Boolean ignoreCase)
- {
- throw new NotImplementedException ();
+ public virtual Type GetType (String name) {
+ return GetType (name, false, false);
}
+
+ [MethodImplAttribute (MethodImplOptions.InternalCall)]
+ public extern Type GetType (String name, Boolean throwOnError, Boolean ignoreCase);
public virtual AssemblyName GetName (Boolean copiedName)
{
diff --git a/mcs/class/corlib/System.Reflection/ChangeLog b/mcs/class/corlib/System.Reflection/ChangeLog
index 6fda5367f09..a88201f8081 100644
--- a/mcs/class/corlib/System.Reflection/ChangeLog
+++ b/mcs/class/corlib/System.Reflection/ChangeLog
@@ -1,3 +1,8 @@
+
+Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+ * Assembly.cs: handle throwOnError in GetType() call.
+
2002-02-07 Duncan Mak <duncan@ximian.com>
* AssemblyName.cs: Implemented ISerializable interface for the