mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
Fix warnings from nullabilty
This commit is contained in:
@@ -13,7 +13,11 @@
|
||||
/// <summary>
|
||||
/// File name
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public string FileName;
|
||||
#else
|
||||
public string? FileName;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// File offset
|
||||
@@ -28,6 +32,10 @@
|
||||
/// <summary>
|
||||
/// SHA256 hash calculated over the entire file contents
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public byte[] FileHash;
|
||||
#else
|
||||
public byte[]? FileHash;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user