Hi, I have a C# document that is permanently analysing. I have found that it is one line of code that causes the problem, if I comment out, every thing is fine.
The line is: toggle = !toggle;
bool toggle = true;
foreach (object var in collection_to_loop)
toggle = !toggle;
I created a new project to test and it works fine, it is only a problem in the context of my complete document, which is doing a lot more than above.
Any help would be appreciated