Skip to content

Conversation

@Tyrrrz
Copy link
Owner

@Tyrrrz Tyrrrz commented Nov 29, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 29, 2025 23:10
@Tyrrrz Tyrrrz added the enhancement New feature or request label Nov 29, 2025
Copilot finished reviewing on behalf of Tyrrrz November 29, 2025 23:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a polyfill implementation for the File.AppendAllBytes(string, byte[]) method introduced in .NET 9.0, enabling its use in earlier .NET versions.

Key changes:

  • Added synchronous AppendAllBytes method polyfill using FileStream with append mode
  • Added unit test to verify the method works correctly
  • Updated documentation to reflect the new polyfilled member

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
PolyShim/Net90/File.cs Implements the AppendAllBytes method polyfill using FileStream in append mode with write access
PolyShim.Tests/Net90/FileTests.cs Adds unit test for the new AppendAllBytes method
PolyShim/Signatures.md Updates member count and adds documentation entry for the new polyfilled method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tyrrrz Tyrrrz requested a review from Copilot November 29, 2025 23:23
Copilot finished reviewing on behalf of Tyrrrz November 29, 2025 23:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tyrrrz Tyrrrz merged commit 8e70b97 into master Nov 29, 2025
11 checks passed
@codecov
Copy link

codecov bot commented Nov 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (cc00c19) to head (38ef19d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@     Coverage Diff      @@
##   master   #55   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants