[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-230.cs
blob55fe02dcb8254958b9d6ad6d6c03b7b61a0318ac
1 using System;
2 using System.Reflection;
3 using System.Diagnostics;
5 [module: DebuggableAttribute (false, false)]
7 class TestClass {
8 public 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;