Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b0200ad

Browse files
author
Wim Pool
committed
Merge pull request #1 from WimAtIHomer/patch-1
XmlElement test
2 parents 0f2ad9d + 6d6d926 commit b0200ad

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/ServiceStack.Text.Tests/AdhocModelTests.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,5 +712,17 @@ public void Can_serialize_IEnumerable()
712712
var from = Serialize(dto, includeXml: false);
713713
from.PrintDump();
714714
}
715+
716+
public class XmlAny
717+
{
718+
public XmlElement[] Any { get; set; }
719+
}
720+
721+
[Test]
722+
public void Can_serialize_Specialized_IEnumerable()
723+
{
724+
var getParseFn = JsvReader.GetParseFn(typeof (XmlAny));
725+
Assert.IsNotNull(getParseFn);
726+
}
715727
}
716728
}

0 commit comments

Comments
 (0)