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

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