Gigantic code review (with ReSharper)

This commit is contained in:
JustArchi
2016-05-13 06:32:42 +02:00
parent 6f93139a18
commit b8faca2517
34 changed files with 935 additions and 888 deletions

View File

@@ -93,7 +93,7 @@ namespace ArchiSteamFarm {
// This constructor is used when creating new database
private BotDatabase(string filePath) {
if (string.IsNullOrEmpty(filePath)) {
throw new ArgumentNullException("filePath");
throw new ArgumentNullException(nameof(filePath));
}
FilePath = filePath;
@@ -101,6 +101,7 @@ namespace ArchiSteamFarm {
}
// This constructor is used only by deserializer
// ReSharper disable once UnusedMember.Local
private BotDatabase() { }
internal void Save() {