projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* roottypes.cs: Rename from tree.cs.
[mono.git]
/
mcs
/
mbas
/
Test
/
tests
/
conversions
/
ImpConversionShorttoIntB.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2005 Novell, Inc.
5
6
Module ImpConversionShorttoIntegerC
7
Sub Main()
8
Dim a as Short= 111
9
Dim b as Integer = 111 + a
10
if b <> 222
11
Throw new System.Exception("Addition of Short & Integer not working. Expected 222 but got " &b)
12
End if
13
End Sub
14
End Module
15
16
17