Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0625-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db7f26a8781bf57a602f59e6c76b67f63445d24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 () {
		}
	}
}