Add version guards around LZX.Chunk

This commit is contained in:
Matt Nadareski
2023-10-24 21:45:32 -04:00
parent cd67a7282b
commit 69ca889ac7

View File

@@ -15,11 +15,19 @@ namespace SabreTools.Models.Compression.LZX
/// <summary>
/// Chunk header
/// </summary>
#if NET48
public ChunkHeader Header { get; set; }
#else
public ChunkHeader? Header { get; set; }
#endif
/// <summary>
/// Block headers and data
/// </summary>
#if NET48
public Block[] Blocks { get; set; }
#else
public Block[]? Blocks { get; set; }
#endif
}
}