10 references to RemoveAt
Microsoft.CodeAnalysis (4)
Syntax\SeparatedSyntaxList.cs (3)
491
nodesWithSeps = nodesWithSeps.
RemoveAt
(index);
496
nodesWithSeps = nodesWithSeps.
RemoveAt
(index);
500
nodesWithSeps = nodesWithSeps.
RemoveAt
(index - 1);
Syntax\SyntaxNodeOrTokenList.cs (1)
390
return this.
RemoveAt
(index);
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertAnonymousType\CSharpConvertAnonymousTypeToClassCodeRefactoringProvider.cs (1)
65
.
RemoveAt
(list.Count - 1);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\SyntaxNodeOrTokenListTests.cs (5)
101
newList = list.
RemoveAt
(0);
105
newList = list.
RemoveAt
(list.Count - 1);
162
Assert.Throws<ArgumentOutOfRangeException>(() => list.
RemoveAt
(-1));
163
Assert.Throws<ArgumentOutOfRangeException>(() => list.
RemoveAt
(list.Count));
208
Assert.Throws<ArgumentOutOfRangeException>(() => list.
RemoveAt
(0));