5 references to Insert
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrTokenList.cs (1)
291
return
Insert
(this.Count, nodeOrToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeOrTokenListTests.cs (4)
196
newList = list.
Insert
(0, tokenD);
209
Assert.Throws<ArgumentOutOfRangeException>(() => list.
Insert
(1, tokenD));
210
Assert.Throws<ArgumentOutOfRangeException>(() => list.
Insert
(-1, tokenD));
214
Assert.Throws<ArgumentOutOfRangeException>(() => list.
Insert
(0, default(SyntaxNodeOrToken)));