SyntaxList<TNode>.IndexOf Method

Definition

Overloads

IndexOf(Func<TNode,Boolean>)
IndexOf(TNode)

The index of the node in this list, or -1 if the node is not in the list.

IndexOf(Func<TNode,Boolean>)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
public:
 int IndexOf(Func<TNode, bool> ^ predicate);
public int IndexOf (Func<TNode,bool> predicate);
member this.IndexOf : Func<'Node, bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> int
Public Function IndexOf (predicate As Func(Of TNode, Boolean)) As Integer

Parameters

predicate
Func<TNode,Boolean>

Returns

Applies to

IndexOf(TNode)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs

The index of the node in this list, or -1 if the node is not in the list.

public:
 int IndexOf(TNode node);
public int IndexOf (TNode node);
member this.IndexOf : 'Node -> int
Public Function IndexOf (node As TNode) As Integer

Parameters

node
TNode

Returns

Applies to