Skip to content

Remove .NET Framework remarks (System.Runtime.CompilerServices)#12666

Open
gewarren wants to merge 1 commit into
dotnet:mainfrom
gewarren:fw-remarks-system-runtime-compilerservices
Open

Remove .NET Framework remarks (System.Runtime.CompilerServices)#12666
gewarren wants to merge 1 commit into
dotnet:mainfrom
gewarren:fw-remarks-system-runtime-compilerservices

Conversation

@gewarren
Copy link
Copy Markdown
Contributor

.NET Framework API ref has moved to its own repo (https://github.com/dotnet/dotnetfw-api-docs), so we can clean up .NET Framework remarks, exceptions, and code examples out of this repo. Contributes to #12513.

Removes remarks and examples related to:

  • .NET Framework versions
  • Code-access security
  • Configuring apps via app.config file
  • App domains

Also removes all remarks from obsolete APIs.

Hide whitespace changes

Copilot AI review requested due to automatic review settings May 28, 2026 01:16
@gewarren gewarren requested a review from a team as a code owner May 28, 2026 01:16
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

This PR cleans up .NET Framework-specific content in the System.Runtime.CompilerServices API reference XML by removing remarks, examples, and exception text that reference legacy .NET Framework behaviors and concepts, aligning the repo with the split to dotnetfw-api-docs.

Changes:

  • Removed .NET Framework-specific remarks/examples (including CER/CAS/app-domain/app.config-related text) across several System.Runtime.CompilerServices types and members.
  • Simplified/modernized some summaries and exception descriptions by removing framework/moniker qualifiers.
  • Normalized markdown/CDATA whitespace formatting in multiple remarks blocks.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml Removes extensive remarks/examples and retains only the example block under the constructor.
xml/System.Runtime.CompilerServices/SpecialNameAttribute.xml Removes .NET Framework-specific remarks and adjusts summary spacing.
xml/System.Runtime.CompilerServices/RuntimeHelpers.xml Removes multiple CER/AppDomain-related remarks sections and related notes.
xml/System.Runtime.CompilerServices/RequiredAttributeAttribute.xml Removes framework-version-specific notes and adjusts parameter/property remarks.
xml/System.Runtime.CompilerServices/MethodImplOptions.xml Markdown/CDATA whitespace normalization in remarks.
xml/System.Runtime.CompilerServices/HasCopySemanticsAttribute.xml Removes .NET Framework version note from constructor remarks.
xml/System.Runtime.CompilerServices/DisablePrivateReflectionAttribute.xml Rewords note to remove explicit .NET Framework/.NET Core mentions.
xml/System.Runtime.CompilerServices/DebugInfoGenerator.xml Simplifies PlatformNotSupportedException text by removing moniker qualifiers.
xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml Removes .NET Framework 1.0-specific remark lines in multiple remark blocks.
xml/System.Runtime.CompilerServices/CompilationRelaxations.xml Removes AppDomain mention and reformats remarks; updates field summary text.
xml/System.Runtime.CompilerServices/AsyncVoidMethodBuilder.xml Removes partial-trust phrasing and normalizes remarks formatting.
xml/System.Runtime.CompilerServices/AsyncTaskMethodBuilder`1.xml Removes partial-trust phrasing and normalizes remarks formatting.
xml/System.Runtime.CompilerServices/AsyncTaskMethodBuilder.xml Removes partial-trust phrasing, tweaks exception formatting, and normalizes remarks formatting.


]]></format>
</remarks>
<remarks>To be added.</remarks>
]]></format>
</remarks>
<summary>Indicates that a type or member is treated in a special way by the runtime or tools. This class cannot be inherited.</summary>
<remarks>To be added.</remarks>

]]></format>
</remarks>
<remarks>To be added.</remarks>
<MemberValue>8</MemberValue>
<Docs>
<summary>Marks an assembly as not requiring string-literal interning. In an application domain, the common language runtime creates one string object for each unique string literal, rather than making multiple copies. This behavior, called <see href="https://learn.microsoft.com/dotnet/api/system.string.intern">string interning</see>, internally requires building auxiliary tables that consume memory resources.</summary>
<summary>Marks an assembly as not requiring string-literal interning. Te common language runtime creates one string object for each unique string literal, rather than making multiple copies. This behavior, called <see href="https://learn.microsoft.com/dotnet/api/system.string.intern">string interning</see>, internally requires building auxiliary tables that consume memory resources.</summary>

]]></format>
</remarks>
<remarks>To be added.</remarks>

]]></format>
</remarks>
<remarks>To be added.</remarks>

]]></format>
</remarks>
<remarks>To be added.</remarks>
]]></format>
</remarks>
<summary>Probes for a certain amount of stack space to ensure that a stack overflow cannot happen within a subsequent block of code (assuming that your code uses only a finite and moderate amount of stack space).</summary>
<remarks>To be added.</remarks>

]]></format>
</remarks>
<remarks>To be added.</remarks>

]]></format>
</remarks>
<remarks>To be added.</remarks>
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.

2 participants