blob: b46d564e7b3621cfc49e356772117ccb7b73bc85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS0459: Cannot take the address of `this' because it is read-only
// Line: 11
// Compiler options: -unsafe
using System;
class X {
unsafe void Test ()
{
X x = *&this;
}
}
|