[Mono-dev] [Patch] AssemblyName ctor (yes, again)
Carlos Alberto Cortez
calberto.cortez at gmail.com
Thu Aug 25 15:59:42 EDT 2005
> This break the ABI: is_version_defined is not needed since you can check
> the fields anyway.
> is_persistent can go away some other way (for example by always having
> public_key allocated, but it would be better to find another which
> doesn't make us waste memory).
No, you can't check the fields. If Version is defined as 0.0.0.0, or
if the user didn't specified version, it happens the same. Then
Version is created for AssemblyName calling the new ctor, even when it
wasn't specified (not compatible with .Net).
However, since it could break api, as you mentioned maybe we should
find other way to do it (and also change the persistent flag).
More information about the Mono-devel-list