diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2019-05-18 20:36:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-18 20:36:26 +0200 |
commit | f54becfee28fef5be69217660c2b05856ab16819 (patch) | |
tree | 9fa62ac9f00a193aeed850d9f86a49a741849b11 /modules/mono/mono_gd/gd_mono_method.cpp | |
parent | ac58abfd581dd2a3feb11f313d7c64ce7f0f7124 (diff) | |
parent | 5a4bf4f369505c47cbb82e691d32087a8a81157d (diff) |
Merge pull request #28974 from neikeq/moshi-moshi_git-desu-ka
C#: Marshalling support for IEnumerable<> and IDictionary<,>
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_method.cpp')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_method.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |