From f3863404127ef0df2cd694eecf1863d8cebdea88 Mon Sep 17 00:00:00 2001 From: kronic Date: Mon, 6 Jul 2026 21:54:47 +0300 Subject: [PATCH 1/5] Update Bool8Array.cs --- src/Apache.Arrow/Arrays/Bool8Array.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Apache.Arrow/Arrays/Bool8Array.cs b/src/Apache.Arrow/Arrays/Bool8Array.cs index c250e4e1..4038fb2d 100644 --- a/src/Apache.Arrow/Arrays/Bool8Array.cs +++ b/src/Apache.Arrow/Arrays/Bool8Array.cs @@ -50,7 +50,7 @@ public override bool TryCreateType(IArrowType storageType, string metadata, out /// public class Bool8Type : ExtensionType { - public static Bool8Type Default = new Bool8Type(); + public static readonly Bool8Type Default = new Bool8Type(); public override string Name => "arrow.bool8"; public override string ExtensionMetadata => ""; From 96e210a0ecee19c9ad5652e87d878994d0fa1351 Mon Sep 17 00:00:00 2001 From: kronic Date: Mon, 6 Jul 2026 21:55:17 +0300 Subject: [PATCH 2/5] Update GuidArray.cs --- src/Apache.Arrow/Arrays/GuidArray.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Apache.Arrow/Arrays/GuidArray.cs b/src/Apache.Arrow/Arrays/GuidArray.cs index cad9cfab..b5cbfc1e 100644 --- a/src/Apache.Arrow/Arrays/GuidArray.cs +++ b/src/Apache.Arrow/Arrays/GuidArray.cs @@ -50,7 +50,7 @@ public override bool TryCreateType(IArrowType storageType, string metadata, out /// public class GuidType : ExtensionType { - public static GuidType Default = new GuidType(); + public static readonly GuidType Default = new GuidType(); internal const int ByteWidth = 16; From a43d2472908b2ac1bb54d0e26cc7497200e49d1b Mon Sep 17 00:00:00 2001 From: kronic Date: Mon, 6 Jul 2026 21:55:50 +0300 Subject: [PATCH 3/5] Update VariantArray.cs --- src/Apache.Arrow/Arrays/VariantArray.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Apache.Arrow/Arrays/VariantArray.cs b/src/Apache.Arrow/Arrays/VariantArray.cs index 3071808b..071b7347 100644 --- a/src/Apache.Arrow/Arrays/VariantArray.cs +++ b/src/Apache.Arrow/Arrays/VariantArray.cs @@ -29,7 +29,7 @@ namespace Apache.Arrow /// public class VariantExtensionDefinition : ExtensionDefinition { - public static VariantExtensionDefinition Instance = new VariantExtensionDefinition(); + public static readonly VariantExtensionDefinition Instance = new VariantExtensionDefinition(); public override string ExtensionName => VariantType.ExtensionName; @@ -87,7 +87,7 @@ public class VariantType : ExtensionType { internal const string ExtensionName = "arrow.parquet.variant"; - public static VariantType Default = new VariantType(); + public static readonly VariantType Default = new VariantType(); public override string Name => ExtensionName; public override string ExtensionMetadata => ""; From f3e3bf0199449192bb5662d5fc9d425c1ed8100c Mon Sep 17 00:00:00 2001 From: kronic Date: Mon, 6 Jul 2026 21:56:32 +0300 Subject: [PATCH 4/5] Update StringType.cs --- src/Apache.Arrow/Types/StringType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Apache.Arrow/Types/StringType.cs b/src/Apache.Arrow/Types/StringType.cs index 33620aad..54ecbcb7 100644 --- a/src/Apache.Arrow/Types/StringType.cs +++ b/src/Apache.Arrow/Types/StringType.cs @@ -18,7 +18,7 @@ namespace Apache.Arrow.Types { public sealed class StringType : ArrowType { - public static StringType Default = new StringType(); + public static readonly StringType Default = new StringType(); public override ArrowTypeId TypeId => ArrowTypeId.String; public override string Name => "utf8"; From e955f15d8f738618df7c52917eeee44f4f3e7ab1 Mon Sep 17 00:00:00 2001 From: kronic Date: Mon, 6 Jul 2026 21:57:04 +0300 Subject: [PATCH 5/5] Update StringViewType.cs --- src/Apache.Arrow/Types/StringViewType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Apache.Arrow/Types/StringViewType.cs b/src/Apache.Arrow/Types/StringViewType.cs index 0c539a56..a2ff91a9 100644 --- a/src/Apache.Arrow/Types/StringViewType.cs +++ b/src/Apache.Arrow/Types/StringViewType.cs @@ -18,7 +18,7 @@ namespace Apache.Arrow.Types { public sealed class StringViewType : ArrowType { - public static StringViewType Default = new StringViewType(); + public static readonly StringViewType Default = new StringViewType(); public override ArrowTypeId TypeId => ArrowTypeId.StringView; public override string Name => "utf8view";