csharp: Refactor MarshalOwn

Authored by lauromoura on Nov 1 2019, 6:04 AM.


csharp: Refactor MarshalOwn

Instead of using the empty interface as tag, split MarshalOwn into two
marshalers that can be used directly.

Fixes T8395 (CA1040)

Test Plan: no new functionality. Use existing tests

Reviewers: felipealmeida, brunobelo, segfaultxavi, YOhoho

Reviewed By: YOhoho

Subscribers: cedric, reviewers, committers

Tags: efl

Maniphest Tasks: T8395

Differential Revision: https://phab.enlightenment.org/D10457