Skip to content

Document the DynamicCodeSupport feature switch - #56255

Merged
gewarren merged 2 commits into
mainfrom
copilot/document-dynamic-code-support
Oct 1, 2026
Merged

gewarren merged 2 commits into
mainfrom
copilot/document-dynamic-code-support

Conversation

Copilot AI commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

DynamicCodeSupport lacked public documentation despite supporting AOT-fallback testing without Native AOT publishing.

  • Compilation runtime configuration
    • Documents the DynamicCodeSupport MSBuild property.
    • Documents its corresponding runtimeconfig setting: System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported.
    • Explains that setting the switch to false makes RuntimeFeature.IsDynamicCodeSupported return false.
<PropertyGroup>
  <DynamicCodeSupport>false</DynamicCodeSupport>
</PropertyGroup>

Internal previews

File Preview link
docs/core/runtime-config/compilation.md Learn preview

Build report

Copilot AI lite review requested due to automatic review settings September 25, 2026 02:08

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 wasn't able to review any files in this pull request.


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

Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for DynamicCodeSupport feature switch Document the DynamicCodeSupport feature switch Sep 25, 2026
Copilot AI requested a review from gewarren September 25, 2026 02:11
@gewarren
gewarren marked this pull request as ready for review September 25, 2026 02:13
@gewarren
gewarren requested a review from a team as a code owner September 25, 2026 02:13
@gewarren
gewarren requested a review from BillWagner September 29, 2026 16:45
@gewarren
gewarren enabled auto-merge (squash) September 29, 2026 16:45

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This LGTM

@gewarren
gewarren merged commit 649a2f4 into main Oct 1, 2026
13 checks passed
@gewarren
gewarren deleted the copilot/document-dynamic-code-support branch October 1, 2026 20:02
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.

DynamicCodeSupport feature switch is undocumented.

4 participants