Use simple using statement
MODIFY
WalletWasabi.Fluent/Controls/LineChart.cs
WalletWasabi.Fluent/Controls/LineChart.cs
@@ -298,8 +298,7 @@ namespace WalletWasabi.Fluent.Controls
{
state.Points = new Point[xAxisValues.Count];
- using (var enumerator = xAxisValuesEnumerable.GetEnumerator())
- {
+ using var enumerator = xAxisValuesEnumerable.GetEnumerator();
for (var i = 0; i < yAxisValuesScaled.Count; i++)
{
enumerator.MoveNext();
@@ -307,7 +306,6 @@ namespace WalletWasabi.Fluent.Controls
}
}
}
- }
private void SetStateXAxisLabels(LineChartState state)
{

Use simple using statement