2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git] / mcs / tests / test-230.cs
blob5b29a497e68aadd28bbb53c3385971afbf1d68c9
1 using System;
2 using System.Reflection;
3 using System.Diagnostics;
5 [module: DebuggableAttribute (false, false)]
7 class TestClass {
8 static int Main()
10 Module[] moduleArray;
11 moduleArray = Assembly.GetExecutingAssembly().GetModules(false);
13 Module myModule = moduleArray[0];
14 object[] attributes;
16 attributes = myModule.GetCustomAttributes(typeof (DebuggableAttribute), false);
17 if (attributes[0] != null)
19 Console.WriteLine ("Succeeded");
20 return 0;
22 return 1;