File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/System.IO.Abstractions.Extensions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- #if NETSTANDARD2_1_OR_GREATER || NET6_0_OR_GREATER
1+ #if NETSTANDARD2_1_OR_GREATER || NET8_0_OR_GREATER
22#nullable enable
33
44using System . Collections . Generic ;
@@ -85,12 +85,12 @@ public static async IAsyncEnumerable<string> EnumerateLinesAsync(this IFileInfo
8585 ? new StreamReader ( stream )
8686 : new StreamReader ( stream , encoding ) ;
8787
88- var line = await reader . ReadLineAsync ( ) ;
88+ var line = await reader . ReadLineAsync ( cancellationToken ) ;
8989 while ( line != null )
9090 {
9191 yield return line ;
9292 cancellationToken . ThrowIfCancellationRequested ( ) ;
93- line = await reader . ReadLineAsync ( ) ;
93+ line = await reader . ReadLineAsync ( cancellationToken ) ;
9494 }
9595 }
9696 }
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <PackageId >TestableIO.System.IO.Abstractions.Extensions</PackageId >
5- <TargetFrameworks >net8.0;netstandard2.1;netstandard2.0;net462 </TargetFrameworks >
5+ <TargetFrameworks >net8.0;netstandard2.1;netstandard2.0;net472 </TargetFrameworks >
66 <Description >Convenience functionalities on top of System.IO.Abstractions</Description >
77 <RootNamespace >System.IO.Abstractions</RootNamespace >
88 <PackageReleaseNotes >$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../../ReleaseNotes.md"))</PackageReleaseNotes >
You can’t perform that action at this time.
0 commit comments