That was good fun to debug. Unfortunately, I'm not going to be able to fix it completely, as the function (the constructor of PCDataContext) is just too large, and causes a stack overflow. It's not worth rewriting to avoid the recursive walking the contents of the method, but I've put in something to avoid crashing VS completely. It'll be in the next build.
Red Gate .NET Tools