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

Guy Langston guy at langston.org.za
Wed Jul 14 12:16:52 EDT 2004


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





More information about the Mono-devel-list mailing list