Condividi tramite


SyntaxNode.AncestorsAndSelf(Boolean) Metodo

Definizione

Ottiene un elenco di nodi predecessori (incluso questo nodo)

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)

Parametri

ascendOutOfTrivia
Boolean

Restituisce

Attributi

Si applica a