2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0625-2.cs
blob9300eee8761ebf443b8a0db5dff2503e6b357aa4
1 // cs0625-2.cs: `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 partial class GValue {
10 public int foo;
13 class Tests {
14 public static void Main () {