I have a collection
ObservableCollection<string> outoverList
And i have a function which call collection
outoverList.Add("out:"+element.tagName);
Function call collection a few times, but sometimes collection lost elements. We call a function -> function adds element -> collection has 9 elements(for example) -> in the next function calling collection has only 8 elements. One element be missing.
Here Resharpers Find usages log:
Search target
FindElementHandler.outoverList:ObservableCollection<string>
Found 3 usages in solution
<FindElementExperiments> (3 items)
FindElementHandler.cs (3 items)
(50,13) outoverList = new ObservableCollection<string>();
(94,13) outoverList.Add("out:"+element.tagName);
(118,13) outoverList.Add("over:" + element.tagName);
As you can see i just add elements to collection everywhere. i havent remove elements code.
Maybe i did something wrong you can look at screen capture: http://www.youtube.com/watch?v=Ei6dQnHCMIc
I am newbie and often encounter with various problems but this bug looks mystic for me.
P/S/ Sorry for english