[Mono-devel-list] corlib version number

Varga Zoltan vargaz at freemail.hu
Mon Dec 8 13:26:38 EST 2003


  To make it easier to diagnose problems caused by people having
incompatible corlib's and runtime, I added a version number
to corlib and
the runtime. The corlib part is in System/Environment.cs,
and the
runtime part is in metadata/verify.c. Upon startup, the
runtime will
compare the two numbers and exits with an error message if
they do
not match.

The version number should be incremented if a breaking
change is made
to the corlib-runtime interface. A breaking change can be:
- a change in the layout of a class which is 'known' to the
- a new parameter for an icall
- a change in an icall's semantics


When making such a change, please make sure you increment the
version number in the two files above. Adding an icall is not
considered a breaking change, since a missing icall is
already detected
by the runtime.



More information about the Mono-devel-list mailing list