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.