29 references to InsertRange
Microsoft.CodeAnalysis (3)
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 (3)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (11)
Syntax\SeparatedSyntaxListTests.vb (11)
65newList = list.InsertRange(0, {nodeD, nodeE})
69newList = list.InsertRange(1, {nodeD, nodeE})
73newList = list.InsertRange(2, {nodeD, nodeE})
77newList = list.InsertRange(3, {nodeD, nodeE})
140Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(-1, {nodeD}))
141Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(list.Count + 1, {nodeD}))
149Assert.Throws(Of ArgumentNullException)(Function() list.InsertRange(0, DirectCast(Nothing, IEnumerable(Of SyntaxNode))))
177newList = list.InsertRange(0, {nodeD, nodeE})
188Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(1, {nodeD}))
189Assert.Throws(Of ArgumentOutOfRangeException)(Function() list.InsertRange(-1, {nodeD}))
195Assert.Throws(Of ArgumentNullException)(Function() list.InsertRange(0, DirectCast(Nothing, IEnumerable(Of SyntaxNode))))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)