I guess I was a little dyslexic in my original posting. It should have said that the problem was seen in build 1842 and earlier (not 1824 and earlier). I always update to the latest build as soon as it is available. Kinda anal that way about all my software.
Anyway...
I didn't use your sample because it does two things that I never do
1 - two namespaces in one file
2 - two classes in the same file that are not nested.
So.... I did create a simple class to show the problem, see below.
To easily recreate the problem, just start with an empty method for 'AnotherTestMethod', and then type in what is included below. In the process of typing that small method body you should see the entire "public methods" region close and open multiple times.
using System;
/// <summary>
/// Summary description for TestingClass
/// </summary>
public class TestingClass
{
#region private vars
#endregion private vars
#region constructor
public TestingClass()
{
//
// TODO: Add constructor logic here
//
}
#endregion constructor
#region public methods
public void TestMethod()
{
}
public void AnotherTestMethod()
{
// this is a test of the emergency document system.
int testvar = 5;
testvar++;
}
#endregion public methods
#region public properties
#endregion public properties
}
Image of VA Outline display of above class. As you type inside 'AnotherTestMethod()' you should see the entire region open and close multiple times. Another good way to see the problem is by trying to add xml comments above the 'AnotherTestMethod'
Below is a 'real world' example. Again, the entire region rebuilds itself every few seconds as you work in the code. This creates a very disruptive flicker that draws your attention away from the code you are working on.