From abcdb720c12fc32b270f3d4fa1c31ae79b25c702 Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Fri, 25 Jul 2025 18:59:34 +0200 Subject: [PATCH] refactor: change DefaultQuantities to use property initializer --- UnitsNet/GeneratedCode/Quantity.g.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitsNet/GeneratedCode/Quantity.g.cs b/UnitsNet/GeneratedCode/Quantity.g.cs index 403d455522..1786f3e121 100644 --- a/UnitsNet/GeneratedCode/Quantity.g.cs +++ b/UnitsNet/GeneratedCode/Quantity.g.cs @@ -34,7 +34,7 @@ internal static class Provider /// /// All QuantityInfo instances that are present in UnitsNet by default. /// - internal static IReadOnlyList DefaultQuantities => new QuantityInfo[] + internal static IReadOnlyList DefaultQuantities { get; } = new QuantityInfo[] { AbsorbedDoseOfIonizingRadiation.Info, Acceleration.Info,