a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
447 B
C#
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 () {}
|
|
}
|
|
}
|
|
|