NullReferenceSection if keys outside section
Brought to you by:
bmatzelle
If you try to load an INI file with keys defined with no section the a NullReferenceException error is hit on load
e.g. Ini as:
--------------------
KeyOutSideSection=1
AnotherOutside=2
[Section]
OkKeyInSection=Test
--------------------
I think such keys are OK to WIN API calls - as it stands it means a misconfigured INI file can blow up the whole load - I think keys should either be added to section "" or at least just ignored
I've submitted a patch that should fix this issue.