[Mono-devel-list] Mono-1-win32: Possible bug?

Marek Safar marek.safar at seznam.cz
Thu Jul 15 04:35:23 EDT 2004


Hi Guy,

Yes, it is a bug (mcs crashes with System.StackOverflowException).
Please fill a bug report.

Thanks,
Marek

> Hello All,
>
> > mcs -target:library -out:test.dll amiabug.cs
>
> Gives not output what so ever: No test.dll, nor any compile error, 
> warning.
>
> I assume this is a bug?
>
> Thanks
> -Guy
>
> AmIABug.cs
> -----
>
> using System;
>
> namespace AppFramework.Util
> {
>    public class Logic
>    {
>        static public bool EnumInSet(Enum anEnum, Enum[] checkSet)
>        {
>            foreach(Enum aVal in checkSet)
>            {
>                if (aVal == anEnum)
>                {
>                    return true;
>                }
>            }
>
>
>            return false;
>        }
>    }
> }
>
>
> _______________________________________________
> 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