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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs0021-3.cs
blob
00124a3fc9c819619344dcbc493a748fb2afa291
1
// CS0021: Cannot apply indexing with [] to an expression of type `G'
2
// Line: 8
3
4
public class
Foo
<
G
>
5
{
6
public static void
Bar
()
7
{
8
int
i
=
default
(
G
)[
0
];
9
}
10
}
11