public void Method_Rename_Leaf1()
        {
            var src1 = @"
class C
{
    static void Goo(int a)
    {
        <AS:0>Console.WriteLine(a);</AS:0>
    }
}";
            var src2 = @"
class C
{
    static void Boo(int a)
    {
        <AS:0>Console.WriteLine(a);</AS:0>
    }
}
";

            var edits  = GetTopEdits(src1, src2);
            var active = GetActiveStatements(src1, src2);

            EditAndContinueValidation.VerifySemantics(
                new[] { edits },
                new[]
            {
                DocumentResults(
                    active,
                    diagnostics: new[] { Diagnostic(RudeEditKind.UpdateAroundActiveStatement, "static void Boo(int a)", FeaturesResources.method) })
            });
        }
        public void Method_Delete_Leaf1()
        {
            var src1 =
                @"
class C
{
    static void Main(string[] args)
    {
        <AS:1>Goo(1);</AS:1>
    }

    static void Goo(int a)
    {
        <AS:0>Console.WriteLine(a);</AS:0>
    }
}";
            var src2 =
                @"
<AS:0>class C</AS:0>
{
    static void Main(string[] args)
    {
        <AS:1>Goo(1);</AS:1>
    }
}
";

            var edits  = GetTopEdits(src1, src2);
            var active = GetActiveStatements(src1, src2);

            EditAndContinueValidation.VerifySemantics(
                new[] { edits },
                new[]
            {
                DocumentResults(
                    active,
                    diagnostics: new[]
                {
                    Diagnostic(
                        RudeEditKind.Delete,
                        "class C",
                        DeletedSymbolDisplay(FeaturesResources.method, "Goo(int)")
                        )
                }
                    )
            }
                );
        }