diff --git a/SabreTools.DatFiles/DatFile.Splitting.cs b/SabreTools.DatFiles/DatFile.Splitting.cs index d4d8cab6..8200dd86 100644 --- a/SabreTools.DatFiles/DatFile.Splitting.cs +++ b/SabreTools.DatFiles/DatFile.Splitting.cs @@ -370,7 +370,7 @@ namespace SabreTools.DatFiles /// private void AddItemsFromChildrenImplDB(bool subfolder, bool skipDedup) { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -500,7 +500,7 @@ namespace SabreTools.DatFiles /// private void AddItemsFromCloneOfParentImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -551,7 +551,7 @@ namespace SabreTools.DatFiles /// private void AddItemsFromCloneOfParentImplDB() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -621,7 +621,7 @@ namespace SabreTools.DatFiles { bool foundnew = false; - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket doesn't have items @@ -767,7 +767,7 @@ namespace SabreTools.DatFiles { bool foundnew = false; - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -932,7 +932,7 @@ namespace SabreTools.DatFiles /// private void AddItemsFromRomOfParentImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -972,7 +972,7 @@ namespace SabreTools.DatFiles /// private void AddItemsFromRomOfParentImplDB() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1016,7 +1016,7 @@ namespace SabreTools.DatFiles /// private void RemoveBiosAndDeviceSetsImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1047,7 +1047,7 @@ namespace SabreTools.DatFiles /// private void RemoveBiosAndDeviceSetsImplDB() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1084,7 +1084,7 @@ namespace SabreTools.DatFiles /// private void RemoveItemsFromCloneOfChildImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1139,7 +1139,7 @@ namespace SabreTools.DatFiles /// private void RemoveItemsFromCloneOfChildImplDB() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1195,7 +1195,7 @@ namespace SabreTools.DatFiles /// private void RemoveItemsFromRomOfChildImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1243,7 +1243,7 @@ namespace SabreTools.DatFiles /// private void RemoveItemsFromRomOfChildImplDB() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. ItemsDB.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it @@ -1280,7 +1280,7 @@ namespace SabreTools.DatFiles /// Applies to private void RemoveMachineRelationshipTagsImpl() { - List buckets = [.. ItemsDB.SortedKeys]; + string[] buckets = [.. Items.SortedKeys]; foreach (string bucket in buckets) { // If the bucket has no items in it