Skip to content

Document runtime-async MethodImpl enum members - #13157

Merged
jkotas merged 5 commits into
mainfrom
copilot/document-system-reflection-apis
Oct 6, 2026
Merged

jkotas merged 5 commits into
mainfrom
copilot/document-system-reflection-apis

Conversation

Copilot AI commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

.NET 10 added Async to MethodImplAttributes and MethodImplOptions, but both API reference entries had placeholder summaries.

  • Documentation: Describe both flags as identifying runtime-async methods, distinguishing them from conventional compiler-transformed async methods.

Fixes dotnet/runtime#120501


Internal previews

File Preview link
xml/System.Reflection/MethodImplAttributes.xml Learn preview
xml/System.Runtime.CompilerServices/MethodImplOptions.xml Learn preview

Build report

Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for System.Reflection APIs in .NET 10.0 Document runtime-async MethodImpl enum members Oct 6, 2026
Copilot AI requested a review from jkotas October 6, 2026 16:33
@jkotas
jkotas requested a balanced review from Copilot October 6, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

Both summaries accurately describe the runtime-async flags and align with the runtime specification.

Review effort: Balanced
Findings: None

What changed in this PR

Documents the .NET 10 runtime-async flags that previously had placeholder summaries.

Changes:

  • Describes MethodImplOptions.Async.
  • Describes MethodImplAttributes.Async.
File Description
xml/​System.Runtime.CompilerServices/​MethodImplOptions.xml Documents the runtime-async option.
xml/​System.Reflection/​MethodImplAttributes.xml Documents the corresponding metadata flag.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread xml/System.Runtime.CompilerServices/MethodImplOptions.xml Outdated
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Copilot AI requested a review from jkotas October 6, 2026 18:29
Comment thread xml/System.Runtime.CompilerServices/MethodImplOptions.xml Outdated
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Copilot AI requested a review from jkotas October 6, 2026 18:34
@jkotas
jkotas marked this pull request as ready for review October 6, 2026 18:36
@jkotas
jkotas requested a review from a team as a code owner October 6, 2026 18:36
@jkotas
jkotas requested review from agocke and gewarren October 6, 2026 18:36

@gewarren gewarren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need to add a Markdown section unless you specifically need it for formatting.

Comment thread xml/System.Runtime.CompilerServices/MethodImplOptions.xml Outdated
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@jkotas
jkotas enabled auto-merge (squash) October 6, 2026 19:20
@jkotas
jkotas merged commit a0d86f0 into main Oct 6, 2026
7 checks passed
@jkotas
jkotas deleted the copilot/document-system-reflection-apis branch October 6, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Reflection docs for .NET 10.0 APIs

4 participants