2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0637-2.cs
blobbebaf25666b0f03844005b58b7c2cab5552b9949
1 // cs0637-2.cs: The FieldOffset attribute is not allowed on static or const fields
2 // Line: 10
4 using System;
5 using System.Runtime.InteropServices;
7 [StructLayout(LayoutKind.Explicit)]
8 struct GValue {
9 [FieldOffset (4)]
10 public const int value = 3;