Sicos1977 / IFilterTextReader

A reader that gets text from different file formats through the IFilter interface
Other
55 stars 38 forks source link

Exception if property with multiple values exists #35

Closed mantis closed 5 years ago

mantis commented 5 years ago

Since the addition of #33, the following exception is generated if a property exists multiple times in the meta data:

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at IFilterTextReader.FilterReader.GetMetaDataProperty(String name, Object value) at IFilterTextReader.FilterReader.GetPropertyNameAndValue(IntPtr valuePtr) at IFilterTextReader.FilterReader.Read(Char[] buffer, Int32 index, Int32 count) at IFilterTextReader.FilterReader.ReadLine() at IFilterTextViewer.MainForm.SelectButton_Click(Object sender, EventArgs e) in IFilterTextViewer\MainForm.cs:line 154 An item with the same key has already been added.