Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git] / mcs / errors / cs0214-11.cs
blob9ddbd3ce70ef5455177afb6304247d220eda133c
1 // CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2 // Line: 12
3 // Compiler options: -unsafe
5 using System;
7 class X {
8 public unsafe int* this [int i] { set { } }
10 void Foo ()
12 this [0] = null;