Struct SyntaxTokenList.Enumerator
A structure for enumerating a Syntax
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Loretta.CodeAnalysis
Assembly: Loretta.CodeAnalysis.dll
Syntax
public struct Enumerator
Properties
| Improve this Doc View SourceCurrent
Gets the current element in the collection.
Declaration
public readonly SyntaxToken Current { get; }
Property Value
Type | Description |
---|---|
Syntax |
Methods
| Improve this Doc View SourceEquals(Object)
Not supported. Do not use.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Not supported. Do not use.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
MoveNext()
Advances the enumerator to the next token in the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System. |
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Operators
| Improve this Doc View SourceEquality(SyntaxTokenList.Enumerator, SyntaxTokenList.Enumerator)
Not supported. Do not use.
Declaration
public static bool operator ==(SyntaxTokenList.Enumerator left, SyntaxTokenList.Enumerator right)
Parameters
Type | Name | Description |
---|---|---|
Syntax |
left | |
Syntax |
right |
Returns
Type | Description |
---|---|
System. |
Inequality(SyntaxTokenList.Enumerator, SyntaxTokenList.Enumerator)
Not supported. Do not use.
Declaration
public static bool operator !=(SyntaxTokenList.Enumerator left, SyntaxTokenList.Enumerator right)
Parameters
Type | Name | Description |
---|---|---|
Syntax |
left | |
Syntax |
right |
Returns
Type | Description |
---|---|
System. |