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
revert
[mcs.git]
/
errors
/
cs0242-2.cs
blob
45e3b7d3111219580db4f085da85da5ff6895069
1
// CS0242: The operation in question is undefined on void pointers
2
// Line: 10
3
// Compiler options: -unsafe
4
5
unsafe class
C
6
{
7
public static void
Main
()
8
{
9
void
*
v
=
null
;
10
int
b
= *
v
is string
;
11
}
12
}