Compartir a través de


AnnotationExtensions.WithAdditionalAnnotations Método

Definición

Sobrecargas

WithAdditionalAnnotations<TNode>(TNode, SyntaxAnnotation[])

Crea un nuevo nodo idéntico a este nodo con las anotaciones especificadas adjuntas.

WithAdditionalAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)

Crea un nuevo nodo idéntico a este nodo con las anotaciones especificadas adjuntas.

WithAdditionalAnnotations<TNode>(TNode, SyntaxAnnotation[])

Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs

Crea un nuevo nodo idéntico a este nodo con las anotaciones especificadas adjuntas.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TNode WithAdditionalAnnotations(TNode node, ... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public static TNode WithAdditionalAnnotations<TNode> (this TNode node, params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member WithAdditionalAnnotations : 'Node * Microsoft.CodeAnalysis.SyntaxAnnotation[] -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithAdditionalAnnotations(Of TNode As SyntaxNode) (node As TNode, ParamArray annotations As SyntaxAnnotation()) As TNode

Parámetros de tipo

TNode

Parámetros

node
TNode

Nodo original.

annotations
SyntaxAnnotation[]

Anotaciones que se van a agregar al nuevo nodo.

Devoluciones

TNode

Se aplica a

WithAdditionalAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)

Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs

Crea un nuevo nodo idéntico a este nodo con las anotaciones especificadas adjuntas.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TNode WithAdditionalAnnotations(TNode node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public static TNode WithAdditionalAnnotations<TNode> (this TNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member WithAdditionalAnnotations : 'Node * seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithAdditionalAnnotations(Of TNode As SyntaxNode) (node As TNode, annotations As IEnumerable(Of SyntaxAnnotation)) As TNode

Parámetros de tipo

TNode

Parámetros

node
TNode

Nodo original.

annotations
IEnumerable<SyntaxAnnotation>

Anotaciones que se van a agregar al nuevo nodo.

Devoluciones

TNode

Se aplica a