Udostępnij za pośrednictwem


SyntaxNodeOrToken.WithAdditionalAnnotations Method

Definition

Overloads

WithAdditionalAnnotations(SyntaxAnnotation[])

Creates a new node or token identical to this one with the specified annotations.

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Creates a new node or token identical to this one with the specified annotations.

WithAdditionalAnnotations(SyntaxAnnotation[])

Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs

Creates a new node or token identical to this one with the specified annotations.

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

Parameters

annotations
SyntaxAnnotation[]

Returns

Applies to

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs

Creates a new node or token identical to this one with the specified annotations.

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

Parameters

Returns

Applies to