From b8accefff7d43e48afe17050ddd99d447c5b45fa Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Tue, 13 Jan 2026 21:40:10 +0200 Subject: [PATCH] Ignore code lint IDE0305 Replacing expr.ToArray() with [..expr] doesn't simplify anything. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 2b9df0e..3764c8c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,3 +3,6 @@ # IDE0290: Use primary constructor # Primary constructors are far from perfect: they can't have readonly fields, while fields can be used anywhere in the class body. csharp_style_prefer_primary_constructors = false + +# IDE0305: Simplify collection initialization +dotnet_style_prefer_collection_expression = never