Share via


SyntaxTokenList.Create(SyntaxToken) Method

Definition

Create a new Token List

public:
 static Microsoft::CodeAnalysis::SyntaxTokenList Create(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.SyntaxTokenList Create (Microsoft.CodeAnalysis.SyntaxToken token);
static member Create : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function Create (token As SyntaxToken) As SyntaxTokenList

Parameters

token
SyntaxToken

Element of the return Token List

Returns

Applies to