mono-docs: Add more event args link for event handlers
authorXavi Artigas <xavierartigas@yahoo.es>
Fri, 2 Aug 2019 15:29:27 +0000 (17:29 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 02:51:02 +0000 (11:51 +0900)
There were some events missing <value> tags (see f01b1134012bafcc4d0c82588230796a7c9ef5bb)

src/bin/eolian_mono/eolian/mono/events.hh

index 6daccc2..053fd65 100644 (file)
@@ -367,6 +367,10 @@ struct event_definition_generator
 
       if(!as_generator(documentation(1)).generate(sink, evt, context))
         return false;
+      if (etype.is_engaged())
+        if (!as_generator(
+                scope_tab << "/// <value><see cref=\"" << wrapper_args_type << "\"/></value>\n"
+             ).generate(sink, evt, context)) return false;
 
       // Visible event declaration. Either a regular class member or an explicit interface implementation.
       if (klass.type == attributes::class_type::interface_ || klass.type == attributes::class_type::mixin)