projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Raise error when project item has empty Include attribute or lacks it.
[mono.git]
/
mcs
/
class
/
Microsoft.Build
/
Microsoft.Build.Construction
/
ProjectItemGroupElement.cs
diff --git
a/mcs/class/Microsoft.Build/Microsoft.Build.Construction/ProjectItemGroupElement.cs
b/mcs/class/Microsoft.Build/Microsoft.Build.Construction/ProjectItemGroupElement.cs
index 5cece6419c60232292427113b4fbd87ba98c605b..f0bce4361b070c4a43aae7f806292d123811568a 100644
(file)
--- a/
mcs/class/Microsoft.Build/Microsoft.Build.Construction/ProjectItemGroupElement.cs
+++ b/
mcs/class/Microsoft.Build/Microsoft.Build.Construction/ProjectItemGroupElement.cs
@@
-26,10
+26,11
@@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.Generic;
using System.Linq;
+using System.Xml;
using Microsoft.Build.Internal;
using Microsoft.Build.Internal;
-using System;
namespace Microsoft.Build.Construction
{
namespace Microsoft.Build.Construction
{
@@
-84,9
+85,9
@@
namespace Microsoft.Build.Construction
get { return "ItemGroup"; }
}
get { return "ItemGroup"; }
}
- internal override ProjectElement LoadChildElement (
string name
)
+ internal override ProjectElement LoadChildElement (
XmlReader reader
)
{
{
- var item = ContainingProject.CreateItemElement (
n
ame);
+ var item = ContainingProject.CreateItemElement (
reader.LocalN
ame);
AppendChild (item);
return item;
}
AppendChild (item);
return item;
}