Исправление 1.
This commit is contained in:
1 parent
c0bb3c523a
commit
9c493fd8fe
2 files changed
+7
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user