Skip to content

Commit

Permalink
Merge pull request #476 from RachelTucker/4-x-net-fix-common-prefixes
Browse files Browse the repository at this point in the history
fixing common prefixes bug in net sdk
  • Loading branch information
shabtaisharon authored Mar 28, 2018
2 parents f51613f + 414c66b commit bd1f9e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@
string encapsulatingXmlTag,
Func<XElement, TResult> parser)
{
var encapsulatingElement = element.Element(encapsulatingXmlTag);
if (null == encapsulatingElement || encapsulatingElement.IsEmpty)
var encapsulatingElement = element.Elements(encapsulatingXmlTag);
if (null == encapsulatingElement || encapsulatingElement.Count() == 0)
{
return Enumerable.Empty<TResult>();
}
Expand Down

0 comments on commit bd1f9e5

Please sign in to comment.