2005-06-24 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / errors / cs0625-1.cs
1 // CS0625: Instance field of type marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
2
3 using System;
4 using System.Runtime.InteropServices;
5
6 namespace cs0625 {
7         [StructLayout(LayoutKind.Explicit)]
8         class GValue {
9                 public int foo;
10         }
11         
12         class Tests {
13                 public static void Main () {
14                 }
15         }
16 }