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
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
btests
/
AssignmentStatements1.vb
blob
3f7325ff96cc230c06c73647376cd17e4e077d6f
1
' ErrorMessage: System.ArrayTypeMismatchException: Attempted to store
2
' an element of the incorrect type into the array.
3
4
Imports System
5
6
Module
AssignmentStatements1
7
8
Sub
main
()
9
10
Dim
sa
(
10
)
As
String
11
Dim
oa
As Object
() =
sa
12
oa
(
0
) =
Nothing
13
oa
(
1
) =
"Hello "
14
oa
(
2
) =
"World"
15
oa
(
3
) =
New
Date
(
2004
,
8
,
17
)
16
17
End Sub
18
19
20
End Module