GeneratedSequenceBase.GenerateNext<'T> Method (F#)
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)
// Signature:
abstract this.GenerateNext : byref<IEnumerable<'T>> -> int
// Usage:
generatedSequenceBase.GenerateNext (result)
Parameters
result
Type: byref<IEnumerable<'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