2 REM ExpectedError: BC30616
\r
3 REM ErrorMessage: Variable 'a' hides a variable in an enclosing block.
\r
7 Module LocalVariablesC1
\r
9 Function f1(ByVal a As Integer) As Integer
\r
11 Dim b As Integer = 10
\r
12 For a As Integer = 0 to 10
\r
13 Console.WriteLine(a)
\r