(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / mbas / Test / errors / LocalVariablesC2.vb
blob28e308777cb20caeebf38e13d5e96ab5dbc2e3be
1 REM LineNo: 10
2 REM ExpectedError: BC30290
3 REM ErrorMessage: Local variable cannot have the same name as the function containing it.
5 Imports System
7 Module LocalVariablesC2
9 Function f1(ByVal a As Integer) As Integer
10 Dim f1 As Integer = 10
11 f1 = f1 + a
12 End Function
14 Sub Main()
15 Console.WriteLine(f1(0))
16 End Sub
18 End Module