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 {