repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
mbas
/
Test
/
errors
/
ForEachC7.vb
blob
ff00a128be5983a3c82d6db457da0a606f7bdbaa
1
REM LineNo: 12
2
REM ExpectedError: BC30616
3
REM ErrorMessage: Variable 'i' hides a variable in an enclosing block.
4
5
Imports System
6
7
Module
ForEachC7
8
9
Sub
main
()
10
Dim
arr
()
As
Integer
= {
1
,
2
,
3
}
11
For Each
i
As
Integer
in
arr
12
For Each
i
As
Integer
in
arr
13
Console
.
WriteLine
(
"Hello World"
)
14
Next
15
Next
16
End Sub
17
18
End Module