Add rules to prefer simple using statement & compound assignment
MODIFY
.editorconfig
.editorconfig
@@ -109,6 +109,12 @@ csharp_style_expression_bodied_lambdas = true:error
# IDE0066: Convert switch statement to expression
csharp_style_prefer_switch_expression = true:error
+# IDE0063: Use simple 'using' statement
+csharp_prefer_simple_using_statement = true:error
+
+# IDE0054: Use compound assignment
+dotnet_style_prefer_compound_assignment = true:error
+
# name all constant or static fields using PascalCase
dotnet_naming_rule.constant_or_static_fields_should_be_pascal_case.severity = error

MODIFY
WalletWasabi.Tests/IntegrationTests/RegTests.cs
WalletWasabi.Tests/IntegrationTests/RegTests.cs
@@ -1883,6 +1883,7 @@ namespace WalletWasabi.Tests.IntegrationTests
Uri baseUri = new Uri(RegTestFixture.BackendEndPoint);
using var torClient = new TorHttpClient(baseUri, Global.Instance.TorSocks5Endpoint);
using var satoshiClient = new SatoshiClient(baseUri, null);
+
#region PostInputsGetStates
// <-------------------------->

Add rules to prefer simple using statement & compound assignment