1
0
Fork 0

Ignore code lint IDE0305

Replacing expr.ToArray() with [..expr] doesn't simplify anything.
This commit is contained in:
ivan tkachenko 2026-01-13 21:40:10 +02:00
parent b8ef4d7937
commit b8accefff7
1 changed files with 3 additions and 0 deletions

View File

@ -3,3 +3,6 @@
# IDE0290: Use primary constructor # 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. # 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 csharp_style_prefer_primary_constructors = false
# IDE0305: Simplify collection initialization
dotnet_style_prefer_collection_expression = never