a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
182 B
C#
14 lines
182 B
C#
// 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;
|
|
}
|
|
}
|