次の方法で共有


SyntaxNode.AncestorsAndSelf(Boolean) メソッド

定義

先祖ノード (このノードを含む) の一覧を取得します。

public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__85))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__87))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__86))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__88))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__89))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> AncestorsAndSelf (bool ascendOutOfTrivia = true);
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__85))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__87))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__86))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__88))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNode+<AncestorsAndSelf>d__89))>]
member this.AncestorsAndSelf : bool -> seq<Microsoft.CodeAnalysis.SyntaxNode>
Public Iterator Function AncestorsAndSelf (Optional ascendOutOfTrivia As Boolean = true) As IEnumerable(Of SyntaxNode)

パラメーター

ascendOutOfTrivia
Boolean

戻り値

属性

適用対象