Disallow edits on system.reflection.dispatchproxy#12350
Merged
gewarren merged 2 commits intodotnet:mainfrom Feb 26, 2026
Merged
Disallow edits on system.reflection.dispatchproxy#12350gewarren merged 2 commits intodotnet:mainfrom
gewarren merged 2 commits intodotnet:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds System.Reflection.DispatchProxy to the disallow-edits configuration, following up on PR #124361. The change aims to prevent direct edits to auto-generated API documentation for this namespace, requiring contributors to update the source code comments in the dotnet/runtime repository instead.
Changes:
- Added System.Reflection.DispatchProxy to the open_to_public_contributors exclusion list in docfx.json
- Added a file matching pattern for System.Reflection.DispatchProxy in the disallow-edits GitHub policy
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docfx.json | Added System.Reflection.DispatchProxy to the open_to_public_contributors section to prevent public contributions |
| .github/policies/disallow-edits.yml | Added file pattern to automatically close PRs that attempt to edit System.Reflection.DispatchProxy documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up to dotnet/runtime#124361.