### 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)

{ Variant::INT, "long" },
		{ Variant::VECTOR2, "Vector2" },
		{ Variant::VECTOR2I, "Vector2I" },
		{ Variant::RECT2, "Rect2" },
		{ Variant::RECT2I, "Rect2I" },
		{ Variant::VECTOR3, "Vector3" },
		{ Variant::VECTOR3I, "Vector3I" },
		{ Variant::TRANSFORM2D, "Transform2D" },
		{ Variant::VECTOR4, "Vector4" },
		{ Variant::VECTOR4I, "Vector4I" },
		{ Variant::PLANE, "Plane" },
		{ Variant::QUATERNION, "Quaternion" },
		{ Variant::AABB, "Aabb" },
		{ Variant::BASIS, "Basis" },
		{ Variant::TRANSFORM3D, "Transform3D" },
		{ Variant::PROJECTION, "Projection" },
		{ Variant::COLOR, "Color" },
		{ Variant::STRING_NAME, "StringName" },
		{ Variant::NODE_PATH, "NodePath" },
		{ Variant::RID, "Rid" },
		{ Variant::CALLABLE, "Callable" },
	};
	for (unsigned int i = 0; i < sizeof(var_types) / sizeof(VariantCsName); i++) {
		if (p_var_type_name == Variant::get_type_name(var_types[i].variant_type)) {
			return var_types[i].cs_type;
		}
	}
	return "Variant";
}
String CSharpLanguage::make_function(const String &, const String &p_name, const PackedStringArray &p_args) const {