4 references to Add
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SeparatedSyntaxListExtensions.cs (1)
28
: SyntaxFactory.SeparatedList<T>(newList.GetWithSeparators().
Add
(SyntaxFactory.Token(separator)));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxNodeOrTokenListTests.cs (2)
188
var newList = list.
Add
(tokenD);
213
Assert.Throws<ArgumentOutOfRangeException>(() => list.
Add
(default(SyntaxNodeOrToken)));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SeparatedSyntaxListExtensions.cs (1)
28
: SyntaxFactory.SeparatedList<T>(newList.GetWithSeparators().
Add
(SyntaxFactory.Token(separator)));