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