Skip to main content

emit_csharp_doc

Function emit_csharp_doc 

Source
pub fn emit_csharp_doc(
    out: &mut String,
    doc: &str,
    indent: &str,
    exception_class: &str,
)
Expand description

Emit C# XML documentation comments (///

) Used for C# classes, structs, methods, and properties.

Translates rustdoc sections (# Arguments<param>, # Returns<returns>, # Errors<exception>, # Example<example><code>) via render_csharp_xml_sections.

exception_class is the C# exception class name to use in <exception cref="..."> tags.