repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0021-2.cs
blob
6b8046153580efd151e2c03e3e8b94689731f02a
1
// cs0021-2.cs: Cannot apply indexing with [] to an expression of type `System.Array'
2
// Line: 9
3
4
using
System
;
5
class
X
{
6
7
public void
Foo
(
Array bar
)
8
{
9
object
baz
=
bar
[
0
];
10
}
11
12
static void
Main
() {}
13
}
14