[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0214-9.cs
blobf80a80ea32674d58ea4d9ffe776121533f5f6cec
1 // CS214: Pointers and fixed size buffers may only be used in an unsafe context
2 // Line: 21
3 // Compiler options: -unsafe
5 public unsafe delegate int* Bar ();
7 class X
9 unsafe static int* Test ()
11 return null;
14 static void Main ()
16 Bar b;
17 unsafe {
18 b = Test;
21 b ();