SyntaxNode.GetAnnotatedNodesAndTokens Method

Definition

Overloads

GetAnnotatedNodesAndTokens(SyntaxAnnotation)

Gets all nodes and tokens with the specified annotation.

GetAnnotatedNodesAndTokens(String)

Gets all nodes and tokens with an annotation of the specified annotation kind.

GetAnnotatedNodesAndTokens(String[])

Gets all nodes and tokens with an annotation of the specified annotation kinds.

GetAnnotatedNodesAndTokens(SyntaxAnnotation)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Gets all nodes and tokens with the specified annotation.

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

Parameters

annotation
SyntaxAnnotation

Returns

Applies to

GetAnnotatedNodesAndTokens(String)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Gets all nodes and tokens with an annotation of the specified annotation kind.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNodeOrToken> ^ GetAnnotatedNodesAndTokens(System::String ^ annotationKind);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNodeOrToken> GetAnnotatedNodesAndTokens (string annotationKind);
member this.GetAnnotatedNodesAndTokens : string -> seq<Microsoft.CodeAnalysis.SyntaxNodeOrToken>
Public Function GetAnnotatedNodesAndTokens (annotationKind As String) As IEnumerable(Of SyntaxNodeOrToken)

Parameters

annotationKind
String

Returns

Applies to

GetAnnotatedNodesAndTokens(String[])

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Gets all nodes and tokens with an annotation of the specified annotation kinds.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNodeOrToken> ^ GetAnnotatedNodesAndTokens(... cli::array <System::String ^> ^ annotationKinds);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNodeOrToken> GetAnnotatedNodesAndTokens (params string[] annotationKinds);
member this.GetAnnotatedNodesAndTokens : string[] -> seq<Microsoft.CodeAnalysis.SyntaxNodeOrToken>
Public Function GetAnnotatedNodesAndTokens (ParamArray annotationKinds As String()) As IEnumerable(Of SyntaxNodeOrToken)

Parameters

annotationKinds
String[]

Returns

Applies to