Support ancient .NET in DatFiles

This commit is contained in:
Matt Nadareski
2024-02-28 22:54:56 -05:00
parent e7c45c1f50
commit 2145245c31
38 changed files with 780 additions and 258 deletions

View File

@@ -30,7 +30,7 @@ namespace SabreTools.DatFiles.Formats
List<DatItemField> missingFields = [];
// Check item name
if (string.IsNullOrWhiteSpace(datItem.GetName()))
if (string.IsNullOrEmpty(datItem.GetName()))
missingFields.Add(DatItemField.Name);
// Check hash linked to specific Hashfile type