Delen via


SyntaxTrivia.WithAdditionalAnnotations Method

Definition

Overloads

WithAdditionalAnnotations(SyntaxAnnotation[])

Creates a new SyntaxTrivia with the specified annotations.

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Creates a new SyntaxTrivia with the specified annotations.

WithAdditionalAnnotations(SyntaxAnnotation[])

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

Creates a new SyntaxTrivia with the specified annotations.

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

Parameters

annotations
SyntaxAnnotation[]

Returns

Applies to

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

Creates a new SyntaxTrivia with the specified annotations.

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

Parameters

Returns

Applies to