How to reproduce:
- Open the attached "IN-157279" project
- In the menu bar select Tools > "C438 Repro"
- Observe the Console window
Actual result: InsertBlockNode(3, b0) on a context node with 3 blocks throws ArgumentException, and the context node has 2 blocks
Expected result: The block b0 moves to the bottom and the context node has 3 blocks
Reproducible with: 6000.6.0a1, 6000.7.0b11, 7000.0.0b1
Could not test with: 6000.0.87f1, 6000.3.30f1, 6000.5.0a7 (the API is not present, the project does not compile)
Reproducible on: Windows 11 (25H2)
Not reproducible on: No other environments tested