Поделиться через


AnnotationExtensions.WithAdditionalAnnotations Метод

Определение

Перегрузки

WithAdditionalAnnotations<TNode>(TNode, SyntaxAnnotation[])

Создает новый узел, идентичный этому узлу с указанными примечаниями.

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

Создает новый узел, идентичный этому узлу с указанными примечаниями.

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

Создает новый узел, идентичный этому узлу с указанными примечаниями.

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

Параметры типа

TNode

Параметры

node
TNode

Исходный узел.

annotations
SyntaxAnnotation[]

Заметки, добавляемые на новый узел.

Возвращаемое значение

TNode

Применяется к

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

Создает новый узел, идентичный этому узлу с указанными примечаниями.

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

Параметры типа

TNode

Параметры

node
TNode

Исходный узел.

annotations
IEnumerable<SyntaxAnnotation>

Заметки, добавляемые на новый узел.

Возвращаемое значение

TNode

Применяется к