Skip to content

Remove .NET Framework remarks (System.Security.<Misc>)#12682

Open
gewarren wants to merge 2 commits into
dotnet:mainfrom
gewarren:fw-remarks-system-security-misc
Open

Remove .NET Framework remarks (System.Security.<Misc>)#12682
gewarren wants to merge 2 commits into
dotnet:mainfrom
gewarren:fw-remarks-system-security-misc

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 29, 2026 21:37
@gewarren gewarren requested a review from a team as a code owner May 29, 2026 21:37
@github-actions github-actions Bot added the area-System.Security Issues related to security practices for .NET developers. label May 29, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones

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

Cleans up .NET Framework-specific remarks, full-trust notes, AppDomain references, and configuration-file guidance from a set of System.Security.* API reference XML files, as part of issue #12513. Most edits replace ".NET Framework" wording with ".NET", drop full-trust caveats from System.Security.RightsManagement types, and simplify multi-implementation tables in System.Security.AccessControl file ACL docs.

Changes:

  • Removes full-trust / app.config / AppDomain / WIF-era remarks from RightsManagement, Claims, and Principal types.
  • Updates "the .NET Framework provides" phrasing to ".NET provides" across AccessControl rule types.
  • Collapses .NET vs .NET Framework method tables in FileSecurity/FileSystemSecurity into single bullet lists and normalizes double-space/ line endings in exception text.

Reviewed changes

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

Show a summary per file
File Description
xml/System.Security.RightsManagement/UseLicense.xml Removes full-trust remark; keeps examples.
xml/System.Security.RightsManagement/UnsignedPublishLicense.xml Removes full-trust remark; normalizes spacing.
xml/System.Security.RightsManagement/SecureEnvironment.xml Removes full-trust remark.
xml/System.Security.RightsManagement/PublishLicense.xml Removes full-trust remark; normalizes spacing.
xml/System.Security.RightsManagement/CryptoProvider.xml Removes full-trust remark.
xml/System.Security.RightsManagement/ContentUser.xml Removes full-trust remark.
xml/System.Security.RightsManagement/ContentGrant.xml Replaces full-trust-only remarks with To be added..
xml/System.Security.Principal/WindowsPrincipal.xml Drops .NET 1.0/1.1 case-sensitivity note; tidies role table.
xml/System.Security.Principal/WindowsIdentity.xml Changes ".NET Framework" to ".NET" in Token remark.
xml/System.Security.Principal/PrincipalPolicy.xml Drops AppDomain.SetPrincipalPolicy remark; uses plain <remarks>.
xml/System.Security.Claims/ClaimsPrincipal.xml Removes WIF/.NET 4.5/full-trust/CAS notes; updates wording to .NET.
xml/System.Security.Claims/ClaimsIdentity.xml Removes WIF history, full-trust note, and config-file BootstrapContext guidance.
xml/System.Security.Claims/Claim.xml Removes ".NET Framework 4.5" WIF integration sentence.
xml/System.Security.AccessControl/SemaphoreAuditRule.xml ".NET Framework provides" → ".NET provides".
xml/System.Security.AccessControl/SemaphoreAccessRule.xml ".NET Framework provides" → ".NET provides".
xml/System.Security.AccessControl/RegistryAuditRule.xml Wording update; trims trailing spaces in exception text.
xml/System.Security.AccessControl/RegistryAccessRule.xml Wording update; trims trailing spaces in exception text.
xml/System.Security.AccessControl/MutexAuditRule.xml Wording update.
xml/System.Security.AccessControl/MutexAccessRule.xml Wording update.
xml/System.Security.AccessControl/FileSystemSecurity.xml Replaces .NET vs .NET Framework tables with bullet lists; trims exception spacing.
xml/System.Security.AccessControl/FileSecurity.xml Replaces table with bullet list (first bullet is malformed) and trims exception spacing.
xml/System.Security.AccessControl/EventWaitHandleAuditRule.xml Wording update.
xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml Wording update.

Comment thread xml/System.Security.AccessControl/FileSecurity.xml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Security Issues related to security practices for .NET developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants