Share via


SyntaxNodeOrTokenList.Add(SyntaxNodeOrToken) Method

Definition

Creates a new SyntaxNodeOrTokenList with the specified node or token added to the end.

public:
 Microsoft::CodeAnalysis::SyntaxNodeOrTokenList Add(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken);
public Microsoft.CodeAnalysis.SyntaxNodeOrTokenList Add (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken);
member this.Add : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Function Add (nodeOrToken As SyntaxNodeOrToken) As SyntaxNodeOrTokenList

Parameters

nodeOrToken
SyntaxNodeOrToken

The node or token to add.

Returns

Applies to