[Mono-dev] Compile Mono Solaris

Steve Bjorg steveb at mindtouch.com
Tue Dec 18 17:10:18 EST 2007


My apologies.  I sent too earlier.  This is a different error.

The exception below is correct.  I'm wrong (and douchebag).  I was  
just responding to this post on our forums when I got your email:
http://forums.opengarden.org/showpost.php?p=7086&postcount=8

Still, not an excuse for my response. :( Sincerely sorry.


- 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
>
>




More information about the Mono-devel-list mailing list