Add StructLayout attribute to struct Rect explicitly
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 26 Apr 2017 09:43:58 +0000 (18:43 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 26 Apr 2017 09:43:58 +0000 (18:43 +0900)
commit788cc3a461323172da050ea18618108c642d66ee
tree20b97d63f73ba8ef49380603836f276125149a93
parentf6900f5ee5be230a2dd874ba77b3335315067632
Add StructLayout attribute to struct Rect explicitly

When using property setter in struct type without StructLayout attribute,
mcs(Mono C# Compiler) generates incorrect IL.
https://bugzilla.xamarin.com/show_bug.cgi?id=55604

Change-Id: Ib77ae509acc076518ad5df3d5138f7b1be1ae829
src/ElmSharp/ElmSharp/Rect.cs [changed mode: 0755->0644]