Skip to content

Fix misleading "parallel" terminology in async file access docs#53349

Merged
adegeo merged 7 commits intomainfrom
copilot/fix-async-io-windows-execution
Apr 23, 2026
Merged

Fix misleading "parallel" terminology in async file access docs#53349
adegeo merged 7 commits intomainfrom
copilot/fix-async-io-windows-execution

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

  • Update frontmatter: add ai-usage: ai-assisted, update ms.date to 04/23/2026
  • Fix intro paragraph: imperative mood, remove weak "you just call"
  • Change intro list header to "Consider adding asynchrony to file access calls for these reasons:"
  • Fix checklist: maymight, replace "Asynchronous tasks can easily be run in parallel" bullet with "Multiple asynchronous I/O operations can run without blocking the calling thread"
  • Rename "## Running the Examples" → "## Run the examples" (sentence case, no gerund)
  • Fix "## Use of the FileStream Class" → "## Use of the FileStream class" (sentence case)
  • Fix FileStream section: you specifyspecify, remove "Note that", remove leading spaces
  • Fix "## Writing Text" → "## Write text" (sentence case, no gerund), remove "Note that"
  • Fix "## Reading Text" → "## Read text" (sentence case, no gerund)
  • Rename ## Parallel Asynchronous I/O## Multiple asynchronous I/O operations
  • Replace "demonstrates parallel processing" description with accurate language about runtime queuing; soften "OS (not .NET)" claim to reflect platform-dependent behavior; spell out "operating system (OS)" on first use (both C# and VB articles)
  • Replace misleading performance/parallel paragraph with accurate async explanation
  • Fix "that is then added" → "that is added"
  • Fix "Imports statement" → "Using statement" (correct VB terminology for the FileStream disposal note)
  • Fix "which you can use to cancel" → "to cancel"
  • Remove remaining leading spaces from paragraphs

Internal previews

📄 File 🔗 Preview link
docs/csharp/asynchronous-programming/using-async-for-file-access.md docs/csharp/asynchronous-programming/using-async-for-file-access
docs/visual-basic/programming-guide/concepts/async/using-async-for-file-access.md docs/visual-basic/programming-guide/concepts/async/using-async-for-file-access

Copilot AI linked an issue Apr 22, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix async IO executing synchronously on Windows Fix misleading "parallel" terminology in async file access docs Apr 22, 2026
Copilot AI requested a review from adegeo April 22, 2026 19:44
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>
@adegeo adegeo marked this pull request as ready for review April 22, 2026 20:38
@adegeo adegeo requested a review from BillWagner as a code owner April 22, 2026 20:38
Copilot AI review requested due to automatic review settings April 22, 2026 20:38
@adegeo adegeo requested a review from a team as a code owner April 22, 2026 20:38
@adegeo
Copy link
Copy Markdown
Contributor

adegeo commented Apr 22, 2026

@adamsitnik can you verify these changes? Thanks.

Copy link
Copy Markdown
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

Updates the C# async file access tutorial to avoid implying that async file APIs “demonstrate parallel processing,” and reframes the guidance around queuing multiple asynchronous I/O operations and avoiding thread blocking.

Changes:

  • Renames the “Parallel asynchronous I/O” section to “Multiple asynchronous I/O operations.”
  • Rewrites the section intro and performance discussion to emphasize that async avoids blocking the calling thread, and that concurrency/throughput depends on platform behavior.
  • Applies style/wording updates (including adding ai-usage front matter and updating ms.date).

Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
…ss.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Comment thread docs/csharp/asynchronous-programming/using-async-for-file-access.md Outdated
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
…rating system (OS)' on first use

Agent-Logs-Url: https://github.com/dotnet/docs/sessions/a5b50f0b-4f8f-4c8e-8b6a-a9d688f1d68c

Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
@adegeo adegeo enabled auto-merge (squash) April 23, 2026 18:30
@adegeo adegeo merged commit 0f364ab into main Apr 23, 2026
12 checks passed
@adegeo adegeo deleted the copilot/fix-async-io-windows-execution branch April 23, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Async IO executing synchronously on windows

4 participants