* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / errors / AttributeAssemblyCulture1.vb
1 REM LineNo: 9\r
2 REM ExpectedError: BC30129 \r
3 REM ErrorMessage: Assembly attribute 'System.Reflection.AssemblyCultureAttribute\r
4 'is not valid: Executables cannot be localized, Culture should always be empty\r
5 \r
6 \r
7 Imports System\r
8 Imports System.Reflection\r
9 Imports System.Runtime.CompilerServices\r
10 \r
11 <assembly: AssemblyCulture("de")> \r
12 \r
13 Module Test\r
14 Sub Main()\r
15         \r
16         dim asm as System.Reflection.Assembly\r
17         dim i as integer\r
18         asm = System.Reflection.Assembly.GetAssembly (GetType (Test))\r
19         dim att as object () = asm.GetCustomAttributes (true)\r
20         for i=0 to att.Length - 1\r
21                 Console.WriteLine ("Arribute = {1}", i, att (i).ToString ())\r
22         next i\r
23 End Sub\r
24 End Module\r