internal void CoreAddRecord(IniDocumentRecord record)
        {
            if (null == record)
            {
                return;
            }

            if (record.Section == this)
            {
                return;
            }

            if (record.Section != null)
            {
                record.Section.CoreRemoveRecord(record);
            }

            if (m_Records.TryGetValue(record.Name, out var old))
            {
                CoreRemoveRecord(old);
            }

            m_Records.Add(record.Name, record);

            record.Section = this;
        }
        internal void CoreRemoveRecord(IniDocumentRecord record)
        {
            if (null == record)
            {
                return;
            }

            if (record.Section != this)
            {
                return;
            }

            m_Records.Remove(record.Name);

            record.Section = null;
        }