共用方式為


SyntaxNodeExtensions.GetCurrentNodes 方法

定義

多載

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

取得對應至原始追蹤節點之子樹內的節點。 使用 TrackNodes 開始追蹤節點。

GetCurrentNodes<TNode>(SyntaxNode, TNode)

取得對應至原始追蹤節點之子樹內的節點。 使用 TrackNodes 開始追蹤節點。

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs

取得對應至原始追蹤節點之子樹內的節點。 使用 TrackNodes 開始追蹤節點。

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, System::Collections::Generic::IEnumerable<TNode> ^ nodes);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))]
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, System.Collections.Generic.IEnumerable<TNode> nodes) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))>]
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Iterator Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, nodes As IEnumerable(Of TNode)) As IEnumerable(Of TNode)

類型參數

TNode

參數

root
SyntaxNode

子樹的根目錄,包含對應至原始追蹤節點的目前節點。

nodes
IEnumerable<TNode>

一或多個原本追蹤的節點實例。

傳回

IEnumerable<TNode>
屬性

適用於

GetCurrentNodes<TNode>(SyntaxNode, TNode)

Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs

取得對應至原始追蹤節點之子樹內的節點。 使用 TrackNodes 開始追蹤節點。

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, TNode node);
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * 'Node -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, node As TNode) As IEnumerable(Of TNode)

類型參數

TNode

參數

root
SyntaxNode

子樹的根目錄,其中包含對應至原始追蹤節點的目前節點。

node
TNode

原本追蹤的節點實例。

傳回

IEnumerable<TNode>

適用於