"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs0625-1.cs
blobab82c630caeb3a396acfe75014756fd981bc5c51
1 // CS0625: `CS0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
2 // Line: 10
4 using System;
5 using System.Runtime.InteropServices;
7 namespace CS0625 {
8 [StructLayout(LayoutKind.Explicit)]
9 class GValue {
10 public int foo;
13 class Tests {
14 public static void Main () {