Refactor for .NET8

This commit is contained in:
Deterous
2023-11-24 21:46:16 +13:00
parent f86a89c04a
commit 43e8517bf0
5 changed files with 49 additions and 56 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ namespace LibIRD
// Process all field headers
sfbStream.Seek(0x20, SeekOrigin.Begin);
string field = Encoding.ASCII.GetString(br.ReadBytes(0x10)).Trim('\0');
Field = new Dictionary<string, string> { };
Field = [];
while (field != null && field != "")
{
// Find location of value