Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new File methods from .NET 9 #1193

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

vbreuss
Copy link
Member

@vbreuss vbreuss commented Jan 28, 2025

  • Task AppendAllBytesAsync(string, byte[], CancellationToken)
  • Task AppendAllBytesAsync(string, ReadOnlyMemory, CancellationToken)
  • Task AppendAllTextAsync(string, ReadOnlyMemory, Encoding, CancellationToken)
  • Task AppendAllTextAsync(string, ReadOnlyMemory, CancellationToken)
  • Task WriteAllBytesAsync(string, ReadOnlyMemory, CancellationToken)
  • Task WriteAllTextAsync(string, ReadOnlyMemory, Encoding, CancellationToken)
  • Task WriteAllTextAsync(string, ReadOnlyMemory, CancellationToken)
  • void AppendAllBytes(string, byte[])
  • void AppendAllBytes(string, ReadOnlySpan)
  • void AppendAllText(string, ReadOnlySpan)
  • void AppendAllText(string, ReadOnlySpan, Encoding)
  • void WriteAllBytes(string, ReadOnlySpan)
  • void WriteAllText(string, ReadOnlySpan)
  • void WriteAllText(string, ReadOnlySpan, Encoding)

- Task AppendAllBytesAsync(string, byte[], CancellationToken)
- Task AppendAllBytesAsync(string, ReadOnlyMemory<byte>, CancellationToken)
- Task AppendAllTextAsync(string, ReadOnlyMemory<char>, Encoding, CancellationToken)
- Task AppendAllTextAsync(string, ReadOnlyMemory<char>, CancellationToken)
- Task WriteAllBytesAsync(string, ReadOnlyMemory<byte>, CancellationToken)
- Task WriteAllTextAsync(string, ReadOnlyMemory<char>, Encoding, CancellationToken)
- Task WriteAllTextAsync(string, ReadOnlyMemory<char>, CancellationToken)
- void AppendAllBytes(string, byte[])
- void AppendAllBytes(string, ReadOnlySpan<byte>)
- void AppendAllText(string, ReadOnlySpan<char>)
- void AppendAllText(string, ReadOnlySpan<char>, Encoding)
- void WriteAllBytes(string, ReadOnlySpan<byte>)
- void WriteAllText(string, ReadOnlySpan<char>)
- void WriteAllText(string, ReadOnlySpan<char>, Encoding)
@vbreuss vbreuss self-assigned this Jan 28, 2025
@vbreuss vbreuss enabled auto-merge (squash) January 28, 2025 15:19
@vbreuss vbreuss merged commit 15d0547 into main Jan 28, 2025
8 checks passed
@vbreuss vbreuss deleted the topic/add-net9-file-methods branch January 28, 2025 15:23
Copy link

This is addressed in release v21.2.12.

@github-actions github-actions bot added the state: released Issues that are released label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: released Issues that are released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant