public BaseToolboxNode() { id = nextId; nextId++; if (nextId == int.MaxValue) throw new InvalidOperationException ("Have run out of integer indices for ToolboxNodes"); }