Author: toshok
Date: 2008-01-11 23:25:43 -0500 (Fri, 11 Jan 2008)
New Revision: 92718
Modified:
trunk/mono-tools/gui-compare/CecilMetadata.cs
trunk/mono-tools/gui-compare/ChangeLog
Log:
* CecilMetadata.cs: Fix explicit interface definitions of events.
Modified: trunk/mono-tools/gui-compare/CecilMetadata.cs
===================================================================
--- trunk/mono-tools/gui-compare/CecilMetadata.cs 2008-01-12 03:31:44 UTC
(rev 92717)
+++ trunk/mono-tools/gui-compare/CecilMetadata.cs 2008-01-12 04:25:43 UTC
(rev 92718)
@@ -142,8 +142,13 @@
}
if (event_list != null) {
foreach (EventDefinition ed in fromDef.Events) {
- if (/*ed.IsPrivate ||
ed.IsAssembly*/true)
- event_list.Add (new CecilEvent
(ed));
+ if (ed.IsSpecialName)
+ continue;
+
+ if (ed.AddMethod == null ||
ed.AddMethod.IsPrivate || ed.AddMethod.IsAssembly)
+ continue;
+
+ event_list.Add (new CecilEvent (ed));
}
}
}
Modified: trunk/mono-tools/gui-compare/ChangeLog
===================================================================
--- trunk/mono-tools/gui-compare/ChangeLog 2008-01-12 03:31:44 UTC (rev
92717)
+++ trunk/mono-tools/gui-compare/ChangeLog 2008-01-12 04:25:43 UTC (rev
92718)
@@ -1,5 +1,9 @@
2008-01-11 Chris Toshok <[EMAIL PROTECTED]>
+ * CecilMetadata.cs: Fix explicit interface definitions of events.
+
+2008-01-11 Chris Toshok <[EMAIL PROTECTED]>
+
* InfoManager.cs: add support for IfModifiedSince to the download
logic, so
we'll redownload a masterinfo .tar.gz file automatically if there's a
newer one on the server.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches