Hi, I've found something that maybe is a bug. When I run the following program:
using System;
namespace Test {
public class TestJoin {
public static void Main(string[] args) {
string[] array = new string[] {"hello ", null, "world!"};
Console.WriteLine(String.Join(String.Empty, array));
}
}
}I get the following error:
Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required
I've tested the same program at work, with Microsoft's SDK (1.0), and it prints
the well-known "hello world!" message.
Is this a bug? can someone corroborate it under mono and under .NET 1.1? If
that's the case, I'll be happy to write a test case (please indicate me where)
and fill a form in bugzilla.
I tried to follow the implementation in String.cs, but the actual implementation
is somewhere else; so I guess the fix may require more knowledge than I have...
Thanks,
Rodolfo
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
