From b74bf60fe8a2b940bc432166bcde881f087895b6 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 14 Nov 2024 17:35:46 +0000 Subject: [PATCH] style: perform sln-wide cleanup --- X10D/src/IO/DoubleExtensions.cs | 1 - tools/SourceGenerator/OverloadSyntaxReceiver.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/X10D/src/IO/DoubleExtensions.cs b/X10D/src/IO/DoubleExtensions.cs index 8856c79..9f131d3 100644 --- a/X10D/src/IO/DoubleExtensions.cs +++ b/X10D/src/IO/DoubleExtensions.cs @@ -1,6 +1,5 @@ using System.Buffers.Binary; using System.Diagnostics.Contracts; -using System.Runtime.InteropServices; namespace X10D.IO; diff --git a/tools/SourceGenerator/OverloadSyntaxReceiver.cs b/tools/SourceGenerator/OverloadSyntaxReceiver.cs index 723dd46..c7a2cde 100644 --- a/tools/SourceGenerator/OverloadSyntaxReceiver.cs +++ b/tools/SourceGenerator/OverloadSyntaxReceiver.cs @@ -6,7 +6,7 @@ namespace SourceGenerator; public class OverloadSyntaxReceiver : ISyntaxReceiver { - private readonly List _candidateMethods = new(); + private readonly List _candidateMethods = []; public IReadOnlyList CandidateMethods {