public MSBuildPropertySet GetGlobalPropertyGroup () { MSBuildPropertyGroupMerged res = new MSBuildPropertyGroupMerged (); foreach (MSBuildPropertyGroup grp in PropertyGroups) { if (grp.Condition.Length == 0) res.Add (grp); } return res.GroupCount > 0 ? res : null; }
public MSBuildPropertySet GetGlobalPropertyGroup() { MSBuildPropertyGroupMerged res = new MSBuildPropertyGroupMerged(); foreach (MSBuildPropertyGroup grp in PropertyGroups) { if (grp.Condition.Length == 0) { res.Add(grp); } } return(res.GroupCount > 0 ? res : null); }