In VS.NET 2003 I have an .CS file that always turns intellisense inside out. It doesn’t seem to matter if I copy the contents of the file into notepad, delete the file and then recreate it and paste the code back into it. I think it must be something to do with the structure of the code, although I cannot see anything out of the ordinary.
Above is an example of what I am talking about. Whilst assigning a value to the string ‘TableName’ I lose all the colours, the ‘a’ of TableName becomes bold and I get intellisense for a public static method of Supplemental.
Why is this happening??? The code actually compiles fine, but it doesn’t make writing it fun 🙁