Udostępnij za pośrednictwem


SyntaxNode.GetAnnotatedTokens Method

Definition

Overloads

GetAnnotatedTokens(SyntaxAnnotation)

Gets all tokens with the specified annotation.

GetAnnotatedTokens(String)

Gets all tokens with the specified annotation kind.

GetAnnotatedTokens(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
Source:
SyntaxNode.cs

Gets all tokens with the specified annotation.

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

Parameters

syntaxAnnotation
SyntaxAnnotation

Returns

Applies to

GetAnnotatedTokens(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
Source:
SyntaxNode.cs

Gets all tokens with the specified annotation kind.

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

Parameters

annotationKind
String

Returns

Applies to