[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0625-3.cs
1 // CS0625: `CS0625.GValue.value': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
2 // Line: 10
3
4 using System;
5 using System.Runtime.InteropServices;
6
7 namespace CS0625 {
8         [StructLayout (LayoutKind.Explicit)]
9         partial struct GValue
10         {
11         }
12         
13         partial struct GValue {
14                 public int value;
15         }
16         
17         class Tests {
18                 public static void Main () {
19                 }
20         }
21 }