[Mono-dev] mono inlining

crashfourit crashfourit at gmail.com
Sun Jan 18 17:48:46 EST 2009

Robert Jordan wrote:
> crashfourit wrote:
>> I tried searching the source code and I couldn't find out how to set up
>> MonoAssemblyName that is needed for mono_assembly_load ().
> mono_assembly_load_with_partial_name ().
> Anyway, you should *first* try to get official approval for
> a new assembly from the core team, as new assemblies are
> often rejected as undesirable
> [To avoid a new assembly, you could lookup the attribute by
> name from the image of the method. This requires that all
> MonoInlineAttribute consumers are implementing this class
> privately in their own assembly.]
>> Can I just copy the fields in mono_defaults.corlib and just change the
>> name... or will that not work?
> It will break the MS.NET compatibility of assemblies that reference
> this attribute. I guess you won't be very happy if Mono.SIMD
> stops working on MS.NET (even if it's not optimized).
> Robert
Who do I contact to get approval for a new assembly?? I'd be willing to put
it in an existing assembly if someone would point out where (preferably
someone from that core team).

Anyway I implemented the patch in a way that will let it will gracefully go
along its business as normal if it can't find the the attribute.

I considered iterating through the attributes myself... but I decided
against that because it looked a but tedious.
View this message in context: http://www.nabble.com/mono-inlining-tp21510132p21534235.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list