X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0625-2.cs;h=917016cf67e87e027ae3f24468cbb56f0d1aa520;hb=be95f699da177f6e2d13937062b8c6eca449104f;hp=db7f26a8781bf57a602f59e6c76b67f63445d24f;hpb=669beaed8380fa592533c8755f72593b4422d01d;p=mono.git diff --git a/mcs/errors/cs0625-2.cs b/mcs/errors/cs0625-2.cs index db7f26a8781..917016cf67e 100644 --- a/mcs/errors/cs0625-2.cs +++ b/mcs/errors/cs0625-2.cs @@ -1,17 +1,17 @@ -// cs0625-2.cs: `cs0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute -// Line: 10 - -using System; -using System.Runtime.InteropServices; - -namespace cs0625 { - [StructLayout(LayoutKind.Explicit)] - partial class GValue { - public int foo; - } - - class Tests { - public static void Main () { - } - } -} +// CS0625: `CS0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute +// Line: 10 + +using System; +using System.Runtime.InteropServices; + +namespace CS0625 { + [StructLayout(LayoutKind.Explicit)] + partial class GValue { + public int foo; + } + + class Tests { + public static void Main () { + } + } +}