Search Results for

    Show / Hide Table of Contents

    Struct ChildSyntaxList.Enumerator

    Enumerates the elements of a ChildSyntaxList.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    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 Source

    Current

    Gets the element at the current position of the enumerator.

    Declaration
    public readonly SyntaxNodeOrToken Current { get; }
    Property Value
    Type Description
    SyntaxNodeOrToken

    The element in the ChildSyntaxList at the current position of the enumerator.

    Methods

    | Improve this Doc View Source

    MoveNext()

    Advances the enumerator to the next element of the ChildSyntaxList.

    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.

    | Improve this Doc View Source

    Reset()

    Sets the enumerator to its initial position, which is before the first element in the collection.

    Declaration
    public void Reset()
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾