[Mono-devel-list] [Path] Reflection Only methods

Raja R Harinath rharinath at novell.com
Mon Feb 14 02:14:20 EST 2005


Hi,

Carlos Alberto Cortez <calberto.cortez at gmail.com> writes:
[snip]  
> -/**
> - * mono_assembly_open:
> - * @filename: Opens the assembly pointed out by this name
> - * @status: where a status code can be returned
> - *
> - * mono_assembly_open opens the PE-image pointed by @filename, and
> - * loads any external assemblies referenced by it.
> - *
> - * NOTE: we could do lazy loading of the assemblies.  Or maybe not worth
> - * it. 
> - */
>  MonoAssembly *
> -mono_assembly_open (const char *filename, MonoImageOpenStatus *status)
> +mono_assembly_open_refonly (const char *filename, MonoImageOpenStatus *status, gboolean refonly)

I think the name of this function is misleading.  It probably should be
named something like

  mono_assembly_open_full

(if we follow the naming convention of glib/gtk+).  It contains both
behaviours, not just 'refonly', from what I understand of the code.

- Hari



More information about the Mono-devel-list mailing list