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
/
LogicalOperatorsC1.vb
blob
9e85afdfcfd17f63357186f965c4d0dc1b7a6183
1
REM LineNo: 15
2
REM ExpectedError: BC30512
3
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Boolean' to 'Long'.
4
5
6
Option
Strict
On
7
8
Imports System
9
10
Module
LogicalOperatorsC1
11
Sub
main
()
12
13
Dim
a1
As
Boolean
=
True
14
Dim
b1
As
Long
=
10
S
15
If
a1
And
b1
Then
16
a1
=
False
17
End If
18
End Sub
19
End Module