This commit is contained in:
CortexCore
2024-07-29 14:37:00 +08:00
parent 18d888dfce
commit d044175e77
3 changed files with 23 additions and 9 deletions

View File

@@ -137,7 +137,7 @@ namespace BITKit
}
public static void Write(BinaryWriter writer, object value)
{
if (value is IEnumerable enumerable and not string)
if (value is not string && value is IList enumerable)
{
try
{