public MSBuildProperty GetProperty(string name)
{
// Find property in reverse order, since the last set
// value is the good one
for (int n = groups.Count - 1; n >= 0; n--)
{
var g = groups[n];
MSBuildProperty p = g.GetProperty(name);
if (p != null)
return p;
}
return null;
}