Removed nested code block as found by https://rules.sonarsource.com/csharp/RSPEC-1199
Removed nested code block as found by https://rules.sonarsource.com/csharp/RSPEC-1199

gimlichael/CuemonCore,gimlichael/Cuemon,gimlichael/Cuemon