SyntaxTokenList.Create 方法

定义

重载

Create(SyntaxToken)

创建新的令牌列表

Create(ReadOnlySpan<SyntaxToken>)

Create(SyntaxToken)

Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs
Source:
SyntaxTokenList.cs

创建新的令牌列表

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

参数

token
SyntaxToken

返回令牌列表的元素

返回

适用于

Create(ReadOnlySpan<SyntaxToken>)

Source:
SyntaxTokenList.cs
public static Microsoft.CodeAnalysis.SyntaxTokenList Create (ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxToken> tokens);
static member Create : ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxToken> -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function Create (tokens As ReadOnlySpan(Of SyntaxToken)) As SyntaxTokenList

参数

返回

适用于