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 #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0029-35.cs
blob
c2330990f12104ccbd756153adc5b8d4c955ac99
1
// CS0029: Cannot implicitly convert type `string' to `int'
2
// Line: 10
3
// Compiler options: -unsafe
4
5
class
TestClass
6
{
7
public unsafe static void
Main
()
8
{
9
int
*
arr
=
null
;
10
var
i
=
arr
[
"c"
];
11
}
12
}