### Godot version

4.0-stable_mono_win64

### System information

Windows 11 22H2

### Issue description

> 
![Script](https://user-images.githubusercontent.com/43518523/224719220-9ab4a56c-2e9c-4c1b-bebe-d62eb23e372b.png)
![Bug](https://user-images.githubusercontent.com/43518523/224719256-34436394-6d89-4a2e-a588-f9f11ae06ea1.png)
Expected: The parameter type of OnChildEnteredTree (underlined) in the dialog is Node, not Object.

### Steps to reproduce

1. Write a public (signal listener) C# function with a Node parameter.
2. Build .NET project.
3. Try to connect some suitable signal (e.g. "child_entered_tree") to that function, and it won't appear in the Pick dialog if `Compatible Methods Only` is on.

### Minimal reproduction project

[SignalParamBug.zip](https://github.com/godotengine/godot/files/10958019/SignalParamBug.zip)

bool tool = false;
	bool global_class = false;
	
	Array methods_array;
	methods_array.~Array();
	Dictionary rpc_functions_dict;
	rpc_functions_dict.~Dictionary();
	Dictionary signals_dict;
	signals_dict.~Dictionary();
	String class_name;
	String icon_path;
	Ref<CSharpScript> base_script;
	GDMonoCache::managed_callbacks.ScriptManagerBridge_UpdateScriptClassInfo(
			p_script.ptr(), &class_name, &tool, &global_class, &icon_path,
			&methods_array, &rpc_functions_dict, &signals_dict, &base_script);
	p_script->class_name = class_name;
	p_script->tool = tool;
	p_script->global_class = global_class;
	p_script->icon_path = icon_path;
	p_script->rpc_config.clear();
	p_script->rpc_config = rpc_functions_dict;
	
	p_script->methods.clear();
	p_script->methods.resize(methods_array.size());
	int push_index = 0;
	for (int i = 0; i < methods_array.size(); i++) {
		Dictionary method_info_dict = methods_array[i];
		StringName name = method_info_dict["name"];
		MethodInfo mi;
		mi.name = name;