efl/src
Yeongjong Lee 581bec9598 eolian_mono: make struct immutable
Summary:
Immutable value type is recommeneded for struct type in cs world.
`DO NOT define mutable value types.`
(see, https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/struct)

Also, this patch include refactoring of generated struct types.
1. Change field type to property type that have only getter. it will fix CA1051(ref T8397).
2. Remove internal NativeStruct. there is private field for marshalling struct instead.
3. Fix some test cases that change value inside struct. because struct is immutable.

Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: woohyun, felipealmeida, Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8397

Differential Revision: https://phab.enlightenment.org/D11146
2020-01-28 14:46:10 +09:00
..
benchmarks benchmarks: increase timeout value for running elementary benchmarks 2019-12-18 09:15:51 +01:00
bin eolian_mono: make struct immutable 2020-01-28 14:46:10 +09:00
bindings eolian_mono: make struct immutable 2020-01-28 14:46:10 +09:00
edje_external
examples efl_ui_spotlight: rename Stack_Manager to Fade_Manager 2020-01-23 12:55:16 +09:00
generic emotion & evas: remove gstreamer 0.10 support 2019-12-04 12:21:25 -08:00
lib efl_ui_textbox / efl_ui_image_zoomable: remove duplicated code 2020-01-28 06:49:46 +09:00
modules elm win + ecore evas - fix csd stuff like base size and min sizing 2020-01-18 00:14:58 +00:00
scripts scripts - eina - remove eina-bench-cmp as its disbaled from install 2020-01-06 16:36:31 +00:00
static_libs vector lottie: update shape layer order properly. 2019-12-31 15:04:08 +09:00
tests eolian_mono: make struct immutable 2020-01-28 14:46:10 +09:00
wayland_protocol