Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Fix collection adapter should not handle byte[]
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed Jun 29, 2010
1 parent 14df5eb commit 1b55794
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public ICollectionAdapter GetCollectionAdapter(Type type)
if (CollectionTypes.TryGetValue(type, out factory))
return factory();

if (type.IsArray)
if(type.IsArray && type != typeof(byte[]))
{
return new ArrayCollectionAdapter();
}
Expand Down

0 comments on commit 1b55794

Please sign in to comment.