29 references to InsertRange
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (9)
Syntax\SyntaxListTests.vb (9)
59newList = list.InsertRange(0, {nodeD, nodeE})
63newList = list.InsertRange(1, {nodeD, nodeE})
67newList = list.InsertRange(2, {nodeD, nodeE})
71newList = list.InsertRange(3, {nodeD, nodeE})
134Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(-1, {nodeD}))
135Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(list.Count + 1, {nodeD}))
171newList = list.InsertRange(0, {nodeD, nodeE})
182Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(1, {nodeD}))
183Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(-1, {nodeD}))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)