This looks like one method out of an extraordinarily complicated class; I'm sure we can't figure out what's wrong by looking at this small sample, but I also doubt anyone would want to read through the whole thing if you posted it here.
One thing that's suspicious about this is that I see you creating two DictEntry objects; how come? In general I'd think you'd want to store a value in just one place, but here you seem to be creating two, and doing different things with each. That can't be good.
I think that you're saying that I have two DictEntries because you were looking at both parts of the code.
When the first one above the line works perfectly.
However, the problem is with the hash table adding method.