[Mono-bugs] [Bug 75465][Nor] Changed - monodocer fails on protected
events
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Mar 19 15:25:32 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by d.moonfire at mfgames.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75465
--- shadow/75465 2005-07-04 18:42:30.000000000 -0400
+++ shadow/75465.tmp.817 2006-03-19 15:25:32.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 75465
Product: Mono: Doctools
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Console
AssignedTo: mono-bugs at ximian.com
ReportedBy: stephen at touset.org
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -46,6 +46,23 @@
How often does this happen?
Every time.
Additional Information:
+
+------- Additional Comments From d.moonfire at mfgames.com 2006-03-19 15:25 -------
+This also happens on private events. While this is a patch-fix (which
+lets it at least ignore it), it doesn't handle the root cause that
+EventInfo.GetAddMethod returns null for protected and private events.
+
+--- monodocer.cs (revision 58167)
++++ monodocer.cs (working copy)
+@@ -1260,6 +1260,7 @@
+ }
+
+ static string GetMethodVisibility (MethodBase method) {
++ if (method == null) return null;
+ if (method.IsPublic) return "public";
+ if (method.IsFamily) return "protected";
+ return null;
+
More information about the mono-bugs
mailing list