Исправление 1.

This commit is contained in:
2025-02-25 08:52:18 +03:00
parent c0bb3c523a
commit 9c493fd8fe
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ namespace mROA.Cbor
if (type.IsSubclassOf(typeof(ISharedObject)))
return ReadSharedObject(reader, type, context);
if (type.IsSubclassOf(typeof(IList)))
if (type.IsSubclassOf(typeof(IList)) || type.IsArray)
return ReadList(reader, type, context);
return ReadObject(reader, type, context);