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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0214-11.cs
blob
9ddbd3ce70ef5455177afb6304247d220eda133c
1
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2
// Line: 12
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
class
X
{
8
public unsafe int
*
this
[
int
i
]
{ set { }
}
9
10
void
Foo
()
11
{
12
this
[
0
] =
null
;
13
}
14
}