Files
mono/mcs/errors/cs0637.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

11 lines
256 B
C#

// cs0637.cs: The FieldOffset attribute is not allowed on static or const fields
// Line: 10
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Explicit)]
struct GValue {
[FieldOffset (4)]
public static int value = 3;
}