Skip to content

Commit

Permalink
Renaming some methods that where missing Asnyc.
Browse files Browse the repository at this point in the history
Made HttpResponseException bbeeing more standalone
  • Loading branch information
RNoeldner committed May 22, 2023
1 parent c603a81 commit a366676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/ClassLibraryCSV/CsvHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ FillGuessSettings fillGuessSettings
#if NETSTANDARD2_1_OR_GREATER || NET5_0_OR_GREATER
await
#endif
using var usedStream = await GetStreamInMemory(sourceAccess, cancellationToken).ConfigureAwait(false);
using var usedStream = await GetStreamInMemoryAsync(sourceAccess, cancellationToken).ConfigureAwait(false);
var disallowedDelimiter = new List<char>();
do
{
Expand Down Expand Up @@ -159,7 +159,7 @@ await usedStream.UpdateInspectionResultAsync(inspectionResult, guessJson,
/// <param name="sourceAccess">The access information like filename or file type</param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Stream> GetStreamInMemory(this SourceAccess sourceAccess, CancellationToken cancellationToken)
public static async Task<Stream> GetStreamInMemoryAsync(this SourceAccess sourceAccess, CancellationToken cancellationToken)
{
// even tough the definition reads it will return a Stream all implementation do return IImprovedStream
var stream = new ImprovedStream(sourceAccess);
Expand Down

0 comments on commit a366676

Please sign in to comment.