Repository navigation
[fix-finder] Remove region directives from PermissionAttribute comparer - #13244
Merged
jonathanpeppers merged 1 commit intoOct 23, 2026
Merged
jonathanpeppers merged 1 commit into
jonathanpeppers merged 1 commit into
Conversation
Co-authored-by: Copilot <[email protected]>
github-actions
Bot
requested review from
jonathanpeppers and
simonrozsival
as code owners
October 23, 2026 01:57
jonathanpeppers
approved these changes
Oct 23, 2026
jonathanpeppers
deleted the
fix-finder/permission-region-39886429169-65287f3d08ab9418
branch
October 23, 2026 15:31
6 tasks
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
PermissionAttributeComparercontains a#region/#endregionpair, contrary to repository style. These directives only control editor folding.Fix
Remove the two directive lines from
src/Xamarin.Android.Build.Tasks/Mono.Android/PermissionAttribute.Partial.cs. All other source bytes remain unchanged; no replacement comments or behavior changes were introduced. Searches of open issues and PRs found no matching cleanup.Validation
git diff --check— passed.git diff --unified=0— confirmed exactly two directive-line deletions.python3 -cbyte-for-byte verification againstgit show HEAD:<path>before committing — passed: exactly one matched region pair removed, every other byte unchanged, no region directives remain, and only the intended file changed.git diff --check HEAD^ HEAD— passed after commit; worktree clean.The owning project targets
netstandard2.0and inheritsLangVersion=latestfromConfiguration.props. No APIs or language features changed. Toolchain preparation and compilation were skipped under the explicit directive-only validation exception for03-region-directives.Fix-finder metadata
03-region-directives30/30(actionability:10, safety:10, scope:10)