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
* ExternTable.cs (ExternTable.GetModuleTypeRef): 'module_table' can be
[mcs.git]
/
errors
/
cs0242.cs
blob
d8334ed429308da18a72c7f0f70c5b558e5f6fe8
1
// cs0242.cs: The array index operation is not valid on void pointers
2
// Line: 10
3
// Compiler options: -unsafe
4
using
System
;
5
6
unsafe class
ZZ
{
7
static void
Main
() {
8
void
*
p
=
null
;
9
10
if
(
p
[
10
] ==
4
)
11
return
;
12
}
13
}
14