Author: atsushi
Date: 2005-03-10 15:06:54 -0500 (Thu, 10 Mar 2005)
New Revision: 41660
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/doc.cs
Log:
2004-03-10 Atsushi Enomoto <[EMAIL PROTECTED]>
* doc.cs : commented out the latest change. It breaks xml-030.cs
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2005-03-10 18:54:56 UTC (rev 41659)
+++ trunk/mcs/mcs/ChangeLog 2005-03-10 20:06:54 UTC (rev 41660)
@@ -1,5 +1,9 @@
2004-03-10 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * doc.cs : commented out the latest change. It breaks xml-030.cs
+
+2004-03-10 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* doc.cs : When TypeBuilder did not create Type yet, GetEvents() will
fail. So invoke CreateType() in FindDocumentedType().
Modified: trunk/mcs/mcs/doc.cs
===================================================================
--- trunk/mcs/mcs/doc.cs 2005-03-10 18:54:56 UTC (rev 41659)
+++ trunk/mcs/mcs/doc.cs 2005-03-10 20:06:54 UTC (rev 41660)
@@ -275,6 +275,8 @@
}
}
Type t = FindDocumentedTypeNonArray (mc, identifier,
ds, cref);
+/*
+FIXME: this breaks xml-030.cs. Comment out for now.
// This step is required to make sure that the Type can
// lookup members. At least for events, non-created
// TypeBuilders cannot lookup members.
@@ -292,10 +294,11 @@
// methods that are known to not throw
// on "already created" TypeBuilders.
tb.CreateType ();
- } catch (InvalidOperationException) {
+ } catch (Exception) {
}
#endif
}
+*/
if (t != null && isArray)
t = Array.CreateInstance (t, 0).GetType ();
return t;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches