projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
mbas
/
Test
/
tests
/
ExpConversionShorttoIntA.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2005 Novell, Inc.
5
6
Module ExpConversionShorttoIntA
7
Sub Main()
8
Dim a as Short = 123
9
Dim b as Integer
10
b = CInt(a)
11
if b <> 123
12
Throw new System.Exception("Short to Int Conversion is not working properly. Expected 123 but got " &b)
13
End if
14
End Sub
15
End Module