Add more tests and fixes in Construction loaders.
[mono.git] / mcs / class / Microsoft.Build / Microsoft.Build.Construction / UsingTaskParameterGroupElement.cs
index 8dd13943aa4896e75ff387250cf08ef6e5ff740c..ee808a170b60afe8eea7a604085d0510fdee2072 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
@@ -61,9 +62,9 @@ namespace Microsoft.Build.Construction
                 internal override string XmlName {
                         get { return "ParameterGroup"; }
                 }
-                internal override ProjectElement LoadChildElement (string name)
+                internal override ProjectElement LoadChildElement (XmlReader reader)
                 {
-                        return AddParameter (name);
+                        return AddParameter (reader.LocalName);
                 }
         }
 }