a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
260 B
C#
13 lines
260 B
C#
// CS0842: Automatically implemented property `S.Value' cannot be used inside a type with an explicit StructLayout attribute
|
|
// Line: 10
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
class S
|
|
{
|
|
public int Value {
|
|
get; set;
|
|
}
|
|
}
|