From ac96af1cc987e75ebd4c126a5cd90a393167e080 Mon Sep 17 00:00:00 2001 From: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Date: Fri, 3 Feb 2023 00:22:53 +0100 Subject: C#: Declare `IEquatable<>` interface for `StringName` --- modules/mono/glue/GodotSharp/GodotSharp/Core/StringName.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringName.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringName.cs index b9ee0bc278..97d28f9ee9 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringName.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringName.cs @@ -10,7 +10,7 @@ namespace Godot /// Comparing them is much faster than with regular strings, because only the pointers are compared, /// not the whole strings. /// - public sealed class StringName : IDisposable + public sealed class StringName : IDisposable, IEquatable { internal godot_string_name.movable NativeValue; -- cgit v1.2.3