[Mono-dev] Array.SortImpl and AOT

Jonathan Chambers joncham at gmail.com
Sat Mar 1 21:39:38 UTC 2014


I noticed a comment and #if check seem to not match in the Array.cs source.

/* Avoid this when using full-aot to prevent the generation of many
unused qsort<K,T> instantiations */
#if FULL_AOT_RUNTIME


https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Array.cs#L1749

It seems the comment indicates this should be avoided with AOT, but the #if
explicitly includes it for the AOT case.

Is this missing a ! on the #if, of am I reading this wrong?

Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140301/dc63c58a/attachment.html>


More information about the Mono-devel-list mailing list