diff --git a/src/Facility.Definition/Http/HttpResponseInfo.cs b/src/Facility.Definition/Http/HttpResponseInfo.cs
index 969d4df..fe9a797 100644
--- a/src/Facility.Definition/Http/HttpResponseInfo.cs
+++ b/src/Facility.Definition/Http/HttpResponseInfo.cs
@@ -25,7 +25,7 @@ public sealed class HttpResponseInfo : HttpElementInfo
///
/// The children of the element, if any.
///
- public override IEnumerable GetChildren() => NormalFields?.AsEnumerable() ?? new[] { BodyField! };
+ public override IEnumerable GetChildren() => NormalFields?.AsEnumerable() ?? [BodyField!];
internal HttpResponseInfo(HttpStatusCode statusCode, IReadOnlyList normalFields)
{
diff --git a/tests/Facility.Definition.UnitTests/ServiceTypeInfoTests.cs b/tests/Facility.Definition.UnitTests/ServiceTypeInfoTests.cs
index dadf8c3..1ef3dc8 100644
--- a/tests/Facility.Definition.UnitTests/ServiceTypeInfoTests.cs
+++ b/tests/Facility.Definition.UnitTests/ServiceTypeInfoTests.cs
@@ -17,7 +17,7 @@ public class ServiceTypeInfoTests
[TestCase("datetime", ServiceTypeKind.DateTime)]
public void PrimitiveTypes(string name, ServiceTypeKind kind)
{
- var service = new ServiceInfo(name: "MyApi", members: new[] { new ServiceDtoInfo("MyDto", fields: [new ServiceFieldInfo("myField", name)]) });
+ var service = new ServiceInfo(name: "MyApi", members: [new ServiceDtoInfo("MyDto", fields: [new ServiceFieldInfo("myField", name)])]);
var type = service.GetFieldType(service.Dtos[0].Fields[0])!;
type.Kind.Should().Be(kind);
type.Dto.Should().BeNull();