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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
btests
/
LocalVariablesC3.vb
blob
b421b1b412741731e4b5d9953b7769b085e23cae
1
REM LineNo: 18
2
REM ExpectedError: BC30451
3
REM ErrorMessage: Name 'b' is not declared
4
5
Imports System
6
7
Module
LocalVariablesC3
8
9
Sub
main
()
10
Dim
a
As
Integer
=
0
11
If
a
<>
0
Then
12
Dim
b
As
Integer
=
1
13
Console
.
WriteLine
(
b
)
14
Else
15
Dim
b
As
Integer
=
2
16
Console
.
WriteLine
(
b
)
17
End If
18
Console
.
WriteLine
(
b
)
19
End Sub
20
21
End Module