## Describe the bug ```csharp namespace NonPublicClass { [TestClass] internal sealed class Test1 { [TestMethod] public void TestMethod1() { } [TestMethod] public void TestMethod2() { } [TestMethod] public void TestMethod3() { } } } ``` class warns on 0002 that is should have correct shape, but the fix looks like this: <img width="1726" height="991" alt="Image" src="https://github.com/user-attachments/assets/a872d195-3c5e-4129-b844-88b87cb028e6" /> which fixes the problem, but makes to code incorrectly formatted and the modifiers are swapped. version 3.10.3 of mstest.