MemberDeclarationListSelection Class
Namespace: Roslynator.CSharp
Assembly: Roslynator.CSharp.dll
Represents selected member declarations in a SyntaxList<TNode>.
public sealed class MemberDeclarationListSelection : Roslynator.SyntaxListSelection<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax>
Inheritance
Object → SyntaxListSelection<TNode> → MemberDeclarationListSelection
Implements
- IEnumerable<MemberDeclarationSyntax>
- IReadOnlyCollection<MemberDeclarationSyntax>
- IReadOnlyList<MemberDeclarationSyntax>
- ISelection<MemberDeclarationSyntax>
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>) |
| Parent | Gets a node that contains selected members. |
| UnderlyingList | Gets an underlying list that contains selected nodes. (Inherited from SyntaxListSelection<TNode>) |
Methods
Structs
| Struct | Summary |
|---|---|
| Enumerator | (Inherited from SyntaxListSelection<TNode>) |