From c4b27b31cc35d965acab8d77ed3d6625b082d6fc Mon Sep 17 00:00:00 2001 From: Samuel Jackson Gido <132026917+samgido@users.noreply.github.com> Date: Sat, 14 Feb 2026 20:06:48 -0600 Subject: [PATCH] Remove ToString overrides for record structs --- Raylib-cs/types/Color.cs | 5 ----- Raylib-cs/types/Rectangle.cs | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Raylib-cs/types/Color.cs b/Raylib-cs/types/Color.cs index 47f2e92..b3cb2e7 100644 --- a/Raylib-cs/types/Color.cs +++ b/Raylib-cs/types/Color.cs @@ -221,9 +221,4 @@ public record struct Color { return (byte)(a + (b - a) * t); } - - public readonly override string ToString() - { - return $"{{R:{R} G:{G} B:{B} A:{A}}}"; - } } diff --git a/Raylib-cs/types/Rectangle.cs b/Raylib-cs/types/Rectangle.cs index a744444..bc88220 100644 --- a/Raylib-cs/types/Rectangle.cs +++ b/Raylib-cs/types/Rectangle.cs @@ -106,9 +106,4 @@ public record struct Rectangle Width -= shrink * 2.0f; Height -= shrink * 2.0f; } - - public readonly override string ToString() - { - return $"{{X:{X} Y:{Y} Width:{Width} Height:{Height}}}"; - } }