SyntaxToken.WithAdditionalAnnotations 方法

定义

重载

WithAdditionalAnnotations(SyntaxAnnotation[])

将此批注添加到给定的语法令牌中,创建具有相同类型的新语法标记,并在其中添加批注。

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

将此批注添加到给定的语法令牌中,创建具有相同类型的新语法标记,并在其中添加批注。

WithAdditionalAnnotations(SyntaxAnnotation[])

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

将此批注添加到给定的语法令牌中,创建具有相同类型的新语法标记,并在其中添加批注。

public:
 Microsoft::CodeAnalysis::SyntaxToken WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxToken WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxToken

参数

annotations
SyntaxAnnotation[]

返回

适用于

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

将此批注添加到给定的语法令牌中,创建具有相同类型的新语法标记,并在其中添加批注。

public:
 Microsoft::CodeAnalysis::SyntaxToken WithAdditionalAnnotations(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxToken WithAdditionalAnnotations (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations);
member this.WithAdditionalAnnotations : seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithAdditionalAnnotations (annotations As IEnumerable(Of SyntaxAnnotation)) As SyntaxToken

参数

返回

适用于