projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Incremented version number.
[mono.git]
/
mcs
/
errors
/
cs0029-3.cs
1
// cs0029.cs: Cannot implicitly conver type 'Helper*' to 'Obsolete*'
2
// Line: 18
3
// Compiler options: -unsafe
4
5
class Box {
6
public Helper o;
7
}
8
9
unsafe struct Obsolete {
10
}
11
12
unsafe struct Helper {}
13
14
class MainClass {
15
unsafe public static void Main ()
16
{
17
Box b = new Box ();
18
fixed (Obsolete* p = &b.o)
19
{
20
}
21
}
22
}