[Mono-dev] Compile Mono Solaris

Alan McGovern alan.mcgovern at gmail.com
Tue Dec 18 17:11:13 EST 2007


In your last email you were running mono 1.2.4 and an argument exception was
being thrown. The email previous showed you running mono 1.2.5 tarball and
it was a null reference being thrown there.

Alan.

On Dec 18, 2007 10:08 PM, Steve Bjorg <steveb at mindtouch.com> wrote:

> Maybe you should read the exception it is throwing.  It's a
> NullException, not an ArgumentException. Ergo, it's wrong.
>
> - Steve
>
> --------------
> Steve G. Bjorg
> http://wiki.mindtouch.com
> http://wiki.opengarden.org
>
>
> On Dec 18, 2007, at 2:05 PM, Robert Jordan wrote:
>
> > Steven Jeffs wrote:
> >> Same result on ubuntu as well:
> >> $ cat > test.cs
> >> using System;
> >> using System.Collections.Generic;
> >> using System.Text;
> >>
> >> public class Example
> >> {
> >>     public static void Main()
> >>     {
> >>         Dictionary<char, byte> widths = new Dictionary<char, byte>();
> >>
> >>         widths.Add((char)0x10, (byte)0x20 );
> >>         widths.Add((char)0x10, (byte)0x30 );
> >>     }
> >> }
> >> $ gmcs test.cs
> >> $ mono test.exe
> >>
> >> Unhandled Exception: System.ArgumentException: An element with the
> >> same
> >> key already exists in the dictionary.
> >
> > The exception is expected, as you're trying to insert the same
> > key twice.
> >
> > Robert
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071218/ed70be64/attachment.html 


More information about the Mono-devel-list mailing list