Files
mono/mcs/errors/cs0636.cs
T
Marek Safar 1fb4eab34b new tests + error syntax fixes
svn path=/trunk/mcs/; revision=48785
2005-08-24 15:23:34 +00:00

18 lines
350 B
C#

// CS0636: The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)
// Line: 10
using System;
using System.Runtime.InteropServices;
namespace cs0636 {
struct GValue {
public string name;
[ FieldOffset (4) ] public int value;
}
class Tests {
public static void Main () {
}
}
}