AnnotationExtensions.WithAdditionalAnnotations Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
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.