[Mono-devel-list] String constants and localization
Paolo Molaro
lupus at ximian.com
Wed Jul 16 09:36:06 EDT 2003
On 07/14/03 Piers Haken wrote:
> I guess this implies a potential compiler optimization: if an enum (or
> indeed any struct with only const members) is internal to an assembly
> and no method calls are made on it, references to its fields can be
> inlined and its type definition omitted.
The inlining happens already (actually, the compiler *must* inline the
values).
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list