Click or drag to resize

SeparatedSyntaxListTNode Class



Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysisSeparatedSyntaxListTNode

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class SeparatedSyntaxList<TNode> : ValueType, 
	IEquatable, IReadOnlyList, IEnumerable, IEnumerable, IReadOnlyCollection
where TNode : SyntaxNode

Type Parameters

TNode

The SeparatedSyntaxListTNode type exposes the following members.

Properties
  NameDescription
Public propertyCount
Public propertyFullSpan
The absolute span of the list elements in characters, including the leading and trailing trivia of the first and last elements.
Public propertyItem
Public propertySeparatorCount
Public propertySpan
The absolute span of the list elements in characters, not including the leading and trailing trivia of the first and last elements.
Top
Methods
  NameDescription
Public methodAdd
Creates a new list with the specified node added to the end.
Public methodAddRange
Public methodAny
Public methodContains
Public methodEquals(Object)
Public methodEquals(SeparatedSyntaxListTNode)
Public methodFirst
Public methodFirstOrDefault
Public methodGetEnumerator
Public methodGetHashCode
Public methodGetSeparator
Gets the separator at the given index in this list.
Public methodGetSeparators
Returns the sequence of just the separator tokens.
Public methodGetWithSeparators
Public methodIndexOf(FuncT, TResult)
Public methodIndexOf(TNode)
Public methodInsert
Creates a new list with the specified node inserted at the index.
Public methodInsertRange
Public methodLast
Public methodLastIndexOf(FuncT, TResult)
Public methodLastIndexOf(TNode)
Public methodLastOrDefault
Public methodRemove
Creates a new list with specified element removed.
Public methodRemoveAt
Creates a new list with the element at the specified index removed.
Public methodReplace
Creates a new list with the specified element replaced by the new node.
Public methodReplaceRange
Public methodReplaceSeparator
Creates a new list with the specified separator token replaced with the new separator.
Public methodToFullString
Returns the full string representation of the nodes in this list including separators, the first node's leading trivia, and the last node or token's trailing trivia.
Public methodToString
Returns the string representation of the nodes in this list including separators but not including the first node's leading trivia and the last node or token's trailing trivia.
Top
Operators
Extension Methods
See Also