2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0625-3.cs
blobf14fba27815c7cea7719b9197a7e4f451fbcf271
1 // cs0625-3.cs: `cs0625.GValue.value': 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 struct GValue
13 partial struct GValue {
14 public int value;
17 class Tests {
18 public static void Main () {