projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-18 Ritvik Mayank <mritvik@novell.com>
[mono.git]
/
mcs
/
mbas
/
Test
/
tests
/
ExpConversionBoolToDecimalA2.vb
1
Module ExpConversionofBoolToDecimal
2
Sub Main()
3
Dim a as Boolean = True
4
Dim b as Decimal = CDec(a)
5
if b <> -1 then
6
Throw New System.Exception("Explicit Conversion of Bool(True) to Decimal has Failed. Expected -1, but got " & b)
7
End if
8
End Sub
9
End Module