GC reachable objects deadlock

After we learned about RCW ref count and anonymous methods I can finally explain the GC deadlock bug in our Outlook add-in.
 
Continue reading

When does RCW reference count is incremented?

I recently encountered a fun bug in Outlook addin I'm working on and it was interesting enough that I decided to create a few posts around what caused it, it will probably be 3 blogs starting with RCW reference count stuff, continuing with anonymous delegates and finishing the the bug itself.
Disclaimer: this post is based on a similar stackoverflow question I answered a while ago.
 
Continue reading