Fixing bug in CollectionExtensions RemoveAll method

This commit is contained in:
Chris Cameron
2017-10-13 16:50:37 -04:00
parent d6df8ca72b
commit 561f5da407
2 changed files with 19 additions and 19 deletions

View File

@@ -42,7 +42,7 @@ namespace ICD.Common.Utils.Xml
throw new ArgumentNullException("extends");
if (!extends.HasAttributes)
return new IcdXmlAttribute[0];
return Enumerable.Empty<IcdXmlAttribute>();
List<IcdXmlAttribute> attributes = new List<IcdXmlAttribute>();
while (extends.MoveToNextAttribute())