Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
447 B
C#

//
// Thisis just a compilation test for bug 61593
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;
}
public static void Main () {}
}
}