06 Mar 2002 00:20:11 +0100
Paolo Molaro <email@example.com> writes:
> On 03/05/02 Martin Baulig wrote:
> > Btw. I think I can also commit my Array.cs stuff tonight, it's now
> > almost complete, but I need to drive to the mall before they're
> > closing ...
> Can you post some info about what kind of changes to the array code
> you want to do?
well, several things which are now all in CVS:
1.) I rewrote the Array:SetValue interncall to do type conversions for
all the value types (Boolean, Byte, Char, Double, Int16, Int32,
Int64, SByte, Single, UInt16, UInt32, UInt64)
There's also a new testcase in ArrayTest.cs which checks all possible
combinations between these types (and makes sure they're throwing the
right exception if the conversion is not allowed).
2.) Rewrote the Array:Copy implementation so that it can now copy multi-
I'm also planning to implement this directly in C so that it can use
memcpy() whenever possible.
3.) Implemented Array:CreateInstance.
4.) Fixed several bugs.
5.) Improved the test suite to use unique labels for all the checks.
6.) Made sure that all tests in the test suite pass.