internal void AddNames(List<string> list) { if (_firstVariable.HasValue) { list.Add(_firstCasing); } if (_overflow != null) { lock (_overflow) { foreach (var element in _overflow) { if (element.Value.HasValue) { list.Add(element.Key); } } } } }