From 4e686308c78a0463c0891d60cd5470424b2f2c1e Mon Sep 17 00:00:00 2001 From: Copilot <223556219+Copilot@users.noreply.github.com> Date: Fri, 20 Feb 2026 13:45:30 +0000 Subject: [PATCH] Expose ofAsyncEnum/toAsyncEnum on netstandard2.0 The .fsi signature file was gating ofAsyncEnum, toAsyncEnum, and ofIQueryable behind NETSTANDARD2_1 || NETCOREAPP3_0, while the .fs implementation already guarded them with NETSTANDARD || NET (which includes netstandard2.0). Since the project already depends on Microsoft.Bcl.AsyncInterfaces which provides IAsyncEnumerable for netstandard2.0, aligning the .fsi guard makes these functions available on that target framework. Closes #173 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/FSharp.Control.AsyncSeq/AsyncSeq.fsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Control.AsyncSeq/AsyncSeq.fsi b/src/FSharp.Control.AsyncSeq/AsyncSeq.fsi index 15c1bf5..fa057f8 100644 --- a/src/FSharp.Control.AsyncSeq/AsyncSeq.fsi +++ b/src/FSharp.Control.AsyncSeq/AsyncSeq.fsi @@ -549,7 +549,7 @@ module AsyncSeq = /// completion of sub-sequences depends on completion of other sub-sequences. val groupBy<'T, 'Key when 'Key : equality> : projection:('T -> 'Key) -> source:AsyncSeq<'T> -> AsyncSeq<'Key * AsyncSeq<'T>> - #if (NETSTANDARD2_1 || NETCOREAPP3_0) + #if (NETSTANDARD || NET) /// Creates an asynchronous computation that asynchronously yields results from the provided .NET IAsyncEnumerable. val ofAsyncEnum<'T> : source: Collections.Generic.IAsyncEnumerable<'T> -> AsyncSeq<'T>