Struct SyntaxTokenList.Enumerator
A structure for enumerating a SyntaxTokenList
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 |
---|---|
SyntaxToken |
Methods
| Improve this Doc View SourceEquals(Object)
Not supported. Do not use.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
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.Int32 |
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.Boolean | 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 |
---|---|---|
SyntaxTokenList.Enumerator | left | |
SyntaxTokenList.Enumerator | right |
Returns
Type | Description |
---|---|
System.Boolean |
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 |
---|---|---|
SyntaxTokenList.Enumerator | left | |
SyntaxTokenList.Enumerator | right |
Returns
Type | Description |
---|---|
System.Boolean |