diff --git a/csharp/src/Apache.Arrow/Types/Time32Type.cs b/csharp/src/Apache.Arrow/Types/Time32Type.cs index 80a23d49344ae..7eb3c261879a7 100644 --- a/csharp/src/Apache.Arrow/Types/Time32Type.cs +++ b/csharp/src/Apache.Arrow/Types/Time32Type.cs @@ -18,7 +18,7 @@ namespace Apache.Arrow.Types { public sealed class Time32Type : TimeType { - public static readonly Time32Type Default = Millisecond; + public static Time32Type Default => Millisecond; public override ArrowTypeId TypeId => ArrowTypeId.Time32; public override string Name => "time32"; diff --git a/csharp/src/Apache.Arrow/Types/Time64Type.cs b/csharp/src/Apache.Arrow/Types/Time64Type.cs index e7d911c2772b4..f674c25e44c51 100644 --- a/csharp/src/Apache.Arrow/Types/Time64Type.cs +++ b/csharp/src/Apache.Arrow/Types/Time64Type.cs @@ -18,7 +18,7 @@ namespace Apache.Arrow.Types { public sealed class Time64Type : TimeType { - public static readonly Time64Type Default = Nanosecond; + public static Time64Type Default => Nanosecond; public override ArrowTypeId TypeId => ArrowTypeId.Time64; public override string Name => "time64"; diff --git a/csharp/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj b/csharp/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj index d07cd233afbd3..2d705323425fd 100644 --- a/csharp/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj +++ b/csharp/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj @@ -2,13 +2,17 @@ - net7.0 - + true true + + net7.0;net472 + + + net7.0 + +