Merge pull request #106133 from fLindahl/stringname_movable_dict_fix

[.NET] Avoid heap alloc when using StringNames as key in a Dictionary
This commit is contained in:
Thaddeus Crews
2025-05-08 07:19:38 -05:00

View File

@@ -161,7 +161,7 @@ namespace Godot
public override int GetHashCode()
{
return NativeValue.GetHashCode();
return NativeValue.DangerousSelfRef.GetHashCode();
}
}
}