public override void RemoveSection(string section)
{
// Verify the section exists
if (!HasSection(section))
return;
VerifyNotReadOnly();
VerifyName();
VerifyAndAdjustSection(ref section);
if (!RaiseChangeEvent(true, ProfileChangeType.RemoveSection, section, null, null))
return;
if (WritePrivateProfileString(section, 0, "", Name) == 0)
throw new Win32Exception();
RaiseChangeEvent(false, ProfileChangeType.RemoveSection, section, null, null);
}