From 1a1e7ff478867cfb3388fd78225b7731743b5807 Mon Sep 17 00:00:00 2001 From: hadashiA Date: Fri, 18 Aug 2023 17:28:05 +0900 Subject: [PATCH] Make the type readonly --- src/Ulid.Unity/Assets/Scripts/Ulid/Ulid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ulid.Unity/Assets/Scripts/Ulid/Ulid.cs b/src/Ulid.Unity/Assets/Scripts/Ulid/Ulid.cs index 214e9a4..7e302cb 100644 --- a/src/Ulid.Unity/Assets/Scripts/Ulid/Ulid.cs +++ b/src/Ulid.Unity/Assets/Scripts/Ulid/Ulid.cs @@ -24,7 +24,7 @@ namespace System // wa-o, System Namespace!? #if NETCOREAPP3_1_OR_GREATER [System.Text.Json.Serialization.JsonConverter(typeof(Cysharp.Serialization.Json.UlidJsonConverter))] #endif - public partial struct Ulid : IEquatable, IComparable, IComparable + public readonly partial struct Ulid : IEquatable, IComparable, IComparable #if NET6_0_OR_GREATER , ISpanFormattable #endif