From 5a4bf4f369505c47cbb82e691d32087a8a81157d Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 18 May 2019 04:14:21 +0200 Subject: C#: Marshalling support for IEnumerable<> and IDictionary<,> Also fixed the hint string of exported members. --- modules/mono/mono_gd/gd_mono_method.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/mono/mono_gd/gd_mono_method.cpp') diff --git a/modules/mono/mono_gd/gd_mono_method.cpp b/modules/mono/mono_gd/gd_mono_method.cpp index 7f11e4671d..f290c6c8ac 100644 --- a/modules/mono/mono_gd/gd_mono_method.cpp +++ b/modules/mono/mono_gd/gd_mono_method.cpp @@ -74,6 +74,10 @@ void GDMonoMethod::_update_signature(MonoMethodSignature *p_method_sig) { method_info = MethodInfo(); } +GDMonoClass *GDMonoMethod::get_enclosing_class() const { + return GDMono::get_singleton()->get_class(mono_method_get_class(mono_method)); +} + bool GDMonoMethod::is_static() { return mono_method_get_flags(mono_method, NULL) & MONO_METHOD_ATTR_STATIC; } -- cgit v1.2.3