Skip to content

Commit 29bd5c0

Browse files
committed
Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
[.NET] Fix EmitSignal with typed array parameters
2 parents 89b18de + 975369f commit 29bd5c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/mono/editor/bindings_generator.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -3360,7 +3360,9 @@ Error BindingsGenerator::_generate_cs_signal(const BindingsGenerator::TypeInterf
33603360
cs_emitsignal_params << ", ";
33613361
}
33623362

3363-
p_output << arg_type->cs_type << " " << iarg.name;
3363+
String arg_cs_type = arg_type->cs_type + _get_generic_type_parameters(*arg_type, iarg.type.generic_type_parameters);
3364+
3365+
p_output << arg_cs_type << " " << iarg.name;
33643366

33653367
if (arg_type->is_enum) {
33663368
cs_emitsignal_params << "(long)";

0 commit comments

Comments
 (0)