public IEnumerable <T> Contains(Rectangle r) { List <T> items = new List <T>(); inner.Contains(r, id => { var t = idToNode[id]; items.Add(t); return(true); }); return(items.AsEnumerable()); }