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

This commit is contained in:
micialware committed 2025-02-25 08:52:18 +03:00
1 parent c0bb3c523a
commit 9c493fd8fe
2 files changed
+7 -5

No files matched your search

+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);