Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-280.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aff2fbb5994586140c993b85faf6c83707cfd751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// 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;
       }

       static void Main () {}
   }
}