Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -47,7 +47,7 @@ namespace Server
Refresh();
}
public static TimeSpan ExpireDelay{ get; set; } = TimeSpan.FromMinutes(2.0);
public static TimeSpan ExpireDelay { get; set; } = TimeSpan.FromMinutes(2.0);
public bool Expired
{
@ -184,7 +184,7 @@ namespace Server
public static void DumpAccess()
{
using StreamWriter op = new StreamWriter("warnings.log", true);
using var op = new StreamWriter("warnings.log", true);
op.WriteLine("Warning: Access to queued AggressorInfo:");
op.WriteLine(new StackTrace());
op.WriteLine();
@ -200,4 +200,4 @@ namespace Server
m_Reported = false;
}
}
}
}