summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 003f59f746..f0c73b3aaf 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -58,6 +58,11 @@ static bool generate_equals_method(OutputIterator sink, Context const &context)
58 << scope_tab << "{\n" 58 << scope_tab << "{\n"
59 << scope_tab << scope_tab << "return this.raw_handle.ToInt32();\n" 59 << scope_tab << scope_tab << "return this.raw_handle.ToInt32();\n"
60 << scope_tab << "}\n" 60 << scope_tab << "}\n"
61 << scope_tab << "///<summary>How native pointer in string representation.</summary>\n"
62 << scope_tab << "public override String ToString()\n"
63 << scope_tab << "{\n"
64 << scope_tab << scope_tab << "return $\"{this.GetType().Name}@[{this.raw_handle.ToInt32():x}]\";\n"
65 << scope_tab << "}\n"
61 ).generate(sink, nullptr, context); 66 ).generate(sink, nullptr, context);
62} 67}
63 68