From 6472d8c7d4db3aed63af028f227a97001f4b861f Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Fri, 9 Mar 2018 23:34:32 +0100 Subject: Mono: Avoid invalid class names. Disallow reserved keywords as class names and prefix base class with the Godot namespace if it's the same as the class name. Fixes #12483 (cherry picked from commit 700d07cf7cae4e28de107e0c274b27c857d98450) --- modules/mono/csharp_script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/mono/csharp_script.h') diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index 1f609627d..866614911 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -294,6 +294,7 @@ public: virtual bool is_using_templates(); virtual void make_template(const String &p_class_name, const String &p_base_class_name, Ref