summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-12-17 19:35:04 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-12-17 19:38:45 +0900
commit01864e166b823a27093cdb68917ade43289a0b58 (patch)
tree94a48709ed9123a06fc1b5fed92626a85af57470
parent27e5e8fa757a784d2de91a712b5ea64aa264c8b5 (diff)
eolian_mono: use System.Type explicitly
Previously, "Type" was used with "using System". However, it caused ambiguity if some classes had "Type" property. Therefore, "System.Type" is used explicitly to remove ambiguity.
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 90133291a8..907ac97ad1 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -528,7 +528,7 @@ struct klass
528 << scope_tab << "}\n" 528 << scope_tab << "}\n"
529 529
530 << scope_tab << "///<summary>Internal constructor to forward the wrapper initialization to the root class.</summary>\n" 530 << scope_tab << "///<summary>Internal constructor to forward the wrapper initialization to the root class.</summary>\n"
531 << scope_tab << "protected " << inherit_name << "(Efl.Eo.Globals.class_initializer class_initializer, String klass_name, IntPtr base_klass, Type managed_type, Efl.Object parent, ref IntPtr target_klass) : base(class_initializer, klass_name, base_klass, managed_type, parent, ref target_klass) {}\n" 531 << scope_tab << "protected " << inherit_name << "(Efl.Eo.Globals.class_initializer class_initializer, String klass_name, IntPtr base_klass, System.Type managed_type, Efl.Object parent, ref IntPtr target_klass) : base(class_initializer, klass_name, base_klass, managed_type, parent, ref target_klass) {}\n"
532 532
533 << scope_tab << "///<summary>Constructs an instance from a native pointer.</summary>\n" 533 << scope_tab << "///<summary>Constructs an instance from a native pointer.</summary>\n"
534 << scope_tab << "public " << inherit_name << "(System.IntPtr raw)" << (root ? "" : " : base(raw)") << "\n" 534 << scope_tab << "public " << inherit_name << "(System.IntPtr raw)" << (root ? "" : " : base(raw)") << "\n"
@@ -552,7 +552,7 @@ struct klass
552 << scope_tab << scope_tab << "FinishInstantiation();\n" 552 << scope_tab << scope_tab << "FinishInstantiation();\n"
553 << scope_tab << "}\n" 553 << scope_tab << "}\n"
554 554
555 << scope_tab << "protected " << inherit_name << "(Efl.Eo.Globals.class_initializer class_initializer, String klass_name, IntPtr base_klass, Type managed_type, Efl.Object parent, ref IntPtr target_klass)\n" 555 << scope_tab << "protected " << inherit_name << "(Efl.Eo.Globals.class_initializer class_initializer, String klass_name, IntPtr base_klass, System.Type managed_type, Efl.Object parent, ref IntPtr target_klass)\n"
556 << scope_tab << "{\n" 556 << scope_tab << "{\n"
557 << scope_tab << scope_tab << "inherited = this.GetType() != managed_type;\n" 557 << scope_tab << scope_tab << "inherited = this.GetType() != managed_type;\n"
558 << scope_tab << scope_tab << "IntPtr actual_klass = base_klass;\n" 558 << scope_tab << scope_tab << "IntPtr actual_klass = base_klass;\n"