Just a quick bug report.
When using C#, the attributes associated with blocks are not included correctly when doing block operations.
You can reproduce this with a basic method:
[Test]
public void TestNothingSpecial() {
Assert.IsTrue(true);
}
Position the cursor on the last brace and hit 'select code block'. The method is correctly selected, but the attribute(s) are not. The same problem occurs when doing quick refactorings in C#.
Interestingly, the same problem doesn't occur when the block is a class.
namespace Blah.Blah {
using NUnit.Framework;
[TestFixture]
[Serializable]
public sealed class SomeTest {
[Test]
public void TestNothingSpecial() {
Assert.IsTrue(true);
}
}
}
Position the cursor on the 2nd to last brace and doing a 'select code block' correctly selects both class level attributes.
-andy