SyntaxNodeOrTokenList.Add(SyntaxNodeOrToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.