ToolSelectionUtil::AccumulateSelectionElements

Prefer AccumulateSelectionElements with Flags parameter.