Свойство | Тип | Описание | |
---|---|---|---|
CopyTo | void | ||
CreateList | |||
CreateNode | Microsoft.CodeAnalysis.SyntaxNode | ||
IEnumerable | IEnumerator | ||
IEnumerable | IEnumerator |
||
SyntaxNodeOrTokenList | System |
Метод | Описание | |
---|---|---|
Add ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : |
Creates a new SyntaxNodeOrTokenList with the specified node or token added to the end.
|
|
AddRange ( IEnumerable nodesOrTokens ) : |
Creates a new SyntaxNodeOrTokenList with the specified nodes or tokens added to the end.
|
|
Any ( ) : bool |
Indicates whether there is any element in the list.
|
|
Equals ( other ) : bool |
Indicates whether the current object is equal to another object of the same type.
|
|
Equals ( object obj ) : bool |
Determines whether the specified object is equal to this instance.
|
|
First ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken |
Gets the first SyntaxNodeOrToken structure from this list.
|
|
FirstOrDefault ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken |
Gets the first SyntaxNodeOrToken structure from this list if present, else default(SyntaxNodeOrToken).
|
|
GetEnumerator ( ) : Microsoft.CodeAnalysis.Enumerator |
Gets the enumerator.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
IndexOf ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : int |
Returns the index from the list for the given SyntaxNodeOrToken.
|
|
Insert ( int index, Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : |
Creates a new SyntaxNodeOrTokenList with the specified node or token inserted at the index.
|
|
InsertRange ( int index, IEnumerable nodesAndTokens ) : |
Creates a new SyntaxNodeOrTokenList with the specified nodes or tokens inserted at the index.
|
|
Last ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken |
Gets the last SyntaxNodeOrToken structure from this list.
|
|
LastOrDefault ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken |
Gets the last SyntaxNodeOrToken structure from this list if present, else default(SyntaxNodeOrToken).
|
|
Remove ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList ) : |
Creates a new SyntaxNodeOrTokenList with the specified element removed.
|
|
RemoveAt ( int index ) : |
Creates a new SyntaxNodeOrTokenList with the element at the specified index removed.
|
|
Replace ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList, Microsoft.CodeAnalysis.SyntaxNodeOrToken newNodeOrToken ) : |
Creates a new SyntaxNodeOrTokenList with the specified element replaced with a new node or token.
|
|
ReplaceRange ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList, IEnumerable newNodesAndTokens ) : |
Creates a new SyntaxNodeOrTokenList with the specified element replaced with a new nodes and tokens.
|
|
SyntaxNodeOrTokenList ( ) : System |
Create a SyntaxNodeOrTokenList from one or more SyntaxNodeOrToken.
|
|
SyntaxNodeOrTokenList ( IEnumerable nodesAndTokens ) : System |
Create a SyntaxNodeOrTokenList from a sequence of SyntaxNodeOrToken.
|
|
ToFullString ( ) : string |
Returns the full string representation of the nodes and tokens in this list including the first node or token's leading trivia and the last node or token's trailing trivia.
|
|
ToString ( ) : string |
Returns the string representation of the nodes and tokens in this list, not including the first node or token's leading trivia and the last node or token's trailing trivia.
|
|
operator ( ) : bool |
Implements the operator ==.
|
|
this ( int index ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken |
Gets the SyntaxNodeOrToken at the specified index.
|
Метод | Описание | |
---|---|---|
CopyTo ( int offset, Array array, int arrayOffset, int count ) : void |
Copies a given count of elements into the given array at specified offsets.
|
|
CreateList ( |
||
CreateNode ( IEnumerable nodesAndTokens ) : Microsoft.CodeAnalysis.SyntaxNode | ||
IEnumerable ( ) : IEnumerator |
Returns an enumerator that iterates through a collection.
|
|
IEnumerable ( ) : IEnumerator |
Returns an enumerator that iterates through the collection.
|
|
SyntaxNodeOrTokenList ( Microsoft.CodeAnalysis.SyntaxNode node, int index ) : System |
Initializes a new instance of the SyntaxNodeOrTokenList structure.
|
public Add ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : |
||
nodeOrToken | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The node or token to add. |
Результат |
public AddRange ( IEnumerable nodesOrTokens ) : |
||
nodesOrTokens | IEnumerable | The nodes or tokens to add. |
Результат |
public Equals ( other ) : bool | ||
other | An object to compare with this object. | |
Результат | bool |
public Equals ( object obj ) : bool | ||
obj | object | The |
Результат | bool |
public First ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken | ||
Результат | Microsoft.CodeAnalysis.SyntaxNodeOrToken |
public FirstOrDefault ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken | ||
Результат | Microsoft.CodeAnalysis.SyntaxNodeOrToken |
public GetEnumerator ( ) : Microsoft.CodeAnalysis.Enumerator | ||
Результат | Microsoft.CodeAnalysis.Enumerator |
public IndexOf ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : int | ||
nodeOrToken | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The node or token to search for in the list. |
Результат | int |
public Insert ( int index, Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken ) : |
||
index | int | The index to insert at. |
nodeOrToken | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The node or token to insert. |
Результат |
public InsertRange ( int index, IEnumerable nodesAndTokens ) : |
||
index | int | The index to insert at. |
nodesAndTokens | IEnumerable | The nodes or tokens to insert. |
Результат |
public Last ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken | ||
Результат | Microsoft.CodeAnalysis.SyntaxNodeOrToken |
public LastOrDefault ( ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken | ||
Результат | Microsoft.CodeAnalysis.SyntaxNodeOrToken |
public Remove ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList ) : |
||
nodeOrTokenInList | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The element to remove. |
Результат |
public RemoveAt ( int index ) : |
||
index | int | The index of the element to remove. |
Результат |
public Replace ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList, Microsoft.CodeAnalysis.SyntaxNodeOrToken newNodeOrToken ) : |
||
nodeOrTokenInList | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The element to replace. |
newNodeOrToken | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The new node or token. |
Результат |
public ReplaceRange ( Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList, IEnumerable newNodesAndTokens ) : |
||
nodeOrTokenInList | Microsoft.CodeAnalysis.SyntaxNodeOrToken | The element to replace. |
newNodesAndTokens | IEnumerable | The new nodes and tokens. |
Результат |
public SyntaxNodeOrTokenList ( IEnumerable nodesAndTokens ) : System | ||
nodesAndTokens | IEnumerable | The sequence of nodes and tokens |
Результат | System |
public this ( int index ) : Microsoft.CodeAnalysis.SyntaxNodeOrToken | ||
index | int | |
Результат | Microsoft.CodeAnalysis.SyntaxNodeOrToken |