Resharper Cleanup v2

This commit is contained in:
JustArchi
2017-04-05 17:23:18 +02:00
parent fcf9686a79
commit adfc992f26
19 changed files with 103 additions and 102 deletions

View File

@@ -440,7 +440,7 @@ namespace ArchiSteamFarm.JSON {
internal bool IsFairTypesExchange() {
Dictionary<uint, Dictionary<Item.EType, uint>> itemsToGivePerGame = new Dictionary<uint, Dictionary<Item.EType, uint>>();
foreach (Item item in ItemsToGive) {
if (!itemsToGivePerGame.TryGetValue(item.RealAppID, out Dictionary<Item.EType, uint> itemsPerType)) {
if (!itemsToGivePerGame.TryGetValue(item.RealAppID, out Dictionary<Item.EType, uint> itemsPerType)) {
itemsPerType = new Dictionary<Item.EType, uint> { [item.Type] = item.Amount };
itemsToGivePerGame[item.RealAppID] = itemsPerType;
} else {