2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / gcs0842.cs
blobb23aa7e6481eae3b61544a50ce9cc7886aca11ac
1 // CS0842: Automatically implemented property `S.Value' cannot be used inside a type with an explicit StructLayout attribute
2 // Line: 10
4 using System.Runtime.InteropServices;
6 [StructLayout(LayoutKind.Explicit)]
7 class S
9 public int Value {
10 get; set;