Table of contents
TOC
Collapse the table of content
Expand the table of content

GeneratedSequenceBase.GenerateNext<'T> Method (F#)

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

The F# compiler emits implementations of this type for compiled sequence expressions.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)

Syntax

// Signature:
abstract this.GenerateNext : byref<IEnumerable<'T>> -> int

// Usage:
generatedSequenceBase.GenerateNext (result)

Parameters

result Type: byref<System.Collections.Generic.IEnumerable`1<'T>>

A reference to the sequence.

Return Value

A 0, 1, and 2 respectively indicate Stop, Yield, and Goto conditions for the sequence generator.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

CompilerServices.GeneratedSequenceBase<'T> Class (F#)

Microsoft.FSharp.Core.CompilerServices Namespace (F#)

© 2018 Microsoft