Add more tests and fixes in Construction loaders.
[mono.git] / mcs / class / Microsoft.Build / Microsoft.Build.Construction / ProjectItemDefinitionGroupElement.cs
index 43570e828efcef8484118436b5e1065ff983ebb9..1d74932b2ca8a6ad5d3a953581a48e2069eaf2a3 100644 (file)
@@ -29,6 +29,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
+using System.Xml;
 using Microsoft.Build.Internal;
 
 namespace Microsoft.Build.Construction
@@ -53,9 +54,9 @@ namespace Microsoft.Build.Construction
                 internal override string XmlName {
                         get { return "ItemDefinitionGroup"; }
                 }
-                internal override ProjectElement LoadChildElement (string name)
+                internal override ProjectElement LoadChildElement (XmlReader reader)
                 {
-                        return AddItemDefinition (name);
+                        return AddItemDefinition (reader.LocalName);
                 }
         }
 }