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
resync
[mcs.git]
/
errors
/
gcs0021.cs
blob
0c2ff6b192158bd00ceacc5388030ce393bd9b2d
1
// CS0021: Cannot apply indexing with [] to an expression of type `G'
2
// Line: 5
3
public class
Foo
<
G
> {
4
public static void
Bar
() {
5
int
i
=
default
(
G
)[
0
];
6
}
7
}
8