Appease Rider's inspections

The list is finally clear.
This commit is contained in:
2022-12-03 08:58:26 -06:00
parent 771a21b969
commit 3fc0340738
3 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,4 @@
using System.Diagnostics;
namespace aoc2022;
namespace aoc2022;
internal abstract class Day : IDisposable
{
@ -13,7 +11,7 @@ internal abstract class Day : IDisposable
{
Logger.Log($"<reverse>{GetType().Name}<r>");
using (var parseStopwatch = new Timer("Parsing"))
using (new Timer("Parsing"))
{
Parse();
}

View File

@ -1,4 +1,5 @@
namespace aoc2022;
// ReSharper disable All
namespace aoc2022;
internal class DayTemplate : Day
{

View File

@ -6,7 +6,7 @@ internal class Timer : IDisposable
{
private readonly Stopwatch stopwatch = Stopwatch.StartNew();
private readonly string? name;
private bool stopped = false;
private bool stopped;
public bool Disabled { get; set; }
public Timer(string? inName = null)