Fix all CreateInstance overloads for void
[mcs.git] / errors / cs0637.cs
blob512fc7e9c25bedf582c73917a1a7144a9a88179d
1 // cs0637.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 static int value = 3;