mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-13 23:20:37 +00:00
Gigantic code review (with ReSharper)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user