**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0214-5.cs
blobae7e1eecd29c380ec35671589c3e1f8be701c30a
1 // cs0214: Pointer can only be used in unsafe context
2 // Line: 16
3 // Compiler options: -unsafe
5 using System;
7 public class Driver
9 public static unsafe byte* Frob
11 get { return (byte *) 0; }
14 public static void Main ()
16 IntPtr q = (IntPtr) Frob;