Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0625-2.cs
1 // CS0625: `CS0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
2 // Line: 10
3
4 using System;
5 using System.Runtime.InteropServices;
6
7 namespace CS0625 {
8         [StructLayout(LayoutKind.Explicit)]
9         partial class GValue {
10                 public int foo;
11         }
12         
13         class Tests {
14                 public static void Main () {
15                 }
16         }
17 }