error CS1061: Type `ListHashSet<BasePlayer>' does not contain a definition for `ForEach' and no extension method `ForEach' of type `ListHashSet<BasePlayer>' could be found. Are you missing an assembly reference?
private void DrawGUI(CuiElementContainer container) =>
BasePlayer.activePlayerList.ForEach(x => CuiHelper.AddUi(x, container));
private void DestroyGUI() => BasePlayer.activePlayerList.ForEach(x => CuiHelper.DestroyUi(x, Layer));
private void DrawGUI(CuiElementContainer container) =>
BasePlayer.activePlayerList.ForEach(x => CuiHelper.AddUi(x, container));
private void DestroyGUI() => BasePlayer.activePlayerList.ForEach(x => CuiHelper.DestroyUi(x, Layer));