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
2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0459-4.cs
blob
b46d564e7b3621cfc49e356772117ccb7b73bc85
1
// CS0459: Cannot take the address of `this' because it is read-only
2
// Line: 11
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
class
X
{
8
9
unsafe void
Test
()
10
{
11
X x
= *&
this
;
12
}
13
}