次の方法で共有


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

適用対象