public override string ToString() { string s = "[MSBuildPropertyGroup:"; foreach (MSBuildProperty prop in Properties) s += " " + prop.Name + "=" + prop.Value; return s + "]"; } }