StatementListSelection Class
Namespace: Roslynator.CSharp
Assembly: Roslynator.CSharp.dll
Represents selected statements in a SyntaxList<TNode>.
public sealed class StatementListSelection : Roslynator.SyntaxListSelection<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax>
Inheritance
Object → SyntaxListSelection<TNode> → StatementListSelection
Implements
- IEnumerable<StatementSyntax>
- IReadOnlyCollection<StatementSyntax>
- IReadOnlyList<StatementSyntax>
- ISelection<StatementSyntax>
Indexers
| Indexer | Summary |
|---|---|
| Item[Int32] | Gets the selected node at the specified index. (Inherited from SyntaxListSelection<TNode>) |
Properties
| Property | Summary |
|---|---|
| Count | Gets a number of selected nodes. (Inherited from SyntaxListSelection<TNode>) |
| FirstIndex | Gets an index of the first selected node. (Inherited from SyntaxListSelection<TNode>) |
| LastIndex | Gets an index of the last selected node. (Inherited from SyntaxListSelection<TNode>) |
| OriginalSpan | Gets the original span that was used to determine selected nodes. (Inherited from SyntaxListSelection<TNode>) |
| UnderlyingList | Gets an underlying list that contains selected nodes. (Inherited from SyntaxListSelection<TNode>) |
Methods
Structs
| Struct | Summary |
|---|---|
| Enumerator | (Inherited from SyntaxListSelection<TNode>) |