Skip to content

Commit

Permalink
rename internal CopyParsedRowsTo
Browse files Browse the repository at this point in the history
  • Loading branch information
nietras committed Dec 23, 2023
1 parent b5c8ae6 commit e1e1954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Sep/SepReaderExtensions.Enumeration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static IEnumerable<SepReaderState> EnumerateStates(SepReader reader, ConcurrentS
}
if (reader.HasParsedRows())
{
reader.CopyParsedRowsTo(state);
reader.SwapParsedRowsTo(state);
yield return state;
}
} while (reader.ParseNewRows());
Expand Down
2 changes: 1 addition & 1 deletion src/Sep/SepReaderState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal SepReaderState(SepReader other)

internal Func<int, string> UnsafeToStringDelegate { get; }

internal void CopyParsedRowsTo(SepReaderState other)
internal void SwapParsedRowsTo(SepReaderState other)
{
A.Assert(_parsedRowIndex == 0);
A.Assert(_parsedRowIndex <= _parsedRowsCount);
Expand Down

0 comments on commit e1e1954

Please sign in to comment.