mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-12 03:46:57 +00:00
This can't be null anymore
This commit is contained in:
@@ -18,7 +18,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
get
|
||||
{
|
||||
// Only file streams can have a filename
|
||||
if (_streamData == null || _streamData is not FileStream fs)
|
||||
if (_streamData is not FileStream fs)
|
||||
return null;
|
||||
|
||||
// Return the name
|
||||
|
||||
Reference in New Issue
Block a user