From c4fbf190a2a130922002b2c685342236dee87b9d Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 21 Aug 2026 12:09:29 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Change=20Operation=20to=20readon?= =?UTF-8?q?ly=20record=20struct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: johnstrand <11484777+johnstrand@users.noreply.github.com> --- src/GameUtils/Types/Collections/SynchronizedCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GameUtils/Types/Collections/SynchronizedCollection.cs b/src/GameUtils/Types/Collections/SynchronizedCollection.cs index dc26b2f..36f985c 100644 --- a/src/GameUtils/Types/Collections/SynchronizedCollection.cs +++ b/src/GameUtils/Types/Collections/SynchronizedCollection.cs @@ -22,7 +22,7 @@ public enum OperationKind /// /// Represents an operation to perform on a collection with an entity. /// -public record Operation(OperationKind Kind, T Entity); +public readonly record struct Operation(OperationKind Kind, T Entity); /// /// Abstract class for a thread-safe collection that can be modified from multiple threads.