Skip to content

Remove unused using directives in CheckForInvalidResourceFileNames.cs and CreateDynamicFeatureManifest.cs#11397

Merged
jonathanpeppers merged 2 commits into
mainfrom
copilot/fix-unused-usings-check-resource-file-names
May 19, 2026
Merged

Remove unused using directives in CheckForInvalidResourceFileNames.cs and CreateDynamicFeatureManifest.cs#11397
jonathanpeppers merged 2 commits into
mainfrom
copilot/fix-unused-usings-check-resource-file-names

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

Remove accumulated unused using directives (8 of 13 in one file, 6 of 11 in the other) to reduce noise.

  • CheckForInvalidResourceFileNames.cs: Remove System.Diagnostics, System.Linq, System.Threading, System.Xml, System.Xml.Linq, Microsoft.Build.Utilities, System.Collections.Generic, and redundant self-namespace Xamarin.Android.Tasks
  • CreateDynamicFeatureManifest.cs: Remove System.Collections.Generic, System.Diagnostics, System.IO, System.Linq, System.Xml, Microsoft.Build.Utilities

Copilot AI changed the title [WIP] Remove unused using directives in task files Remove unused using directives in CheckForInvalidResourceFileNames.cs and CreateDynamicFeatureManifest.cs May 18, 2026
Copilot AI requested a review from jonathanpeppers May 18, 2026 21:43
@jonathanpeppers jonathanpeppers marked this pull request as ready for review May 19, 2026 13:35
Copilot AI review requested due to automatic review settings May 19, 2026 13:35
@jonathanpeppers jonathanpeppers merged commit 0df3f07 into main May 19, 2026
3 of 5 checks passed
@jonathanpeppers jonathanpeppers deleted the copilot/fix-unused-usings-check-resource-file-names branch May 19, 2026 13:36
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

Removes unused using directives from two MSBuild task source files to reduce noise.

Changes:

  • Remove 8 unused usings from CheckForInvalidResourceFileNames.cs
  • Remove 6 unused usings from CreateDynamicFeatureManifest.cs

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Xamarin.Android.Build.Tasks/Tasks/CheckForInvalidResourceFileNames.cs Drops unused System.* and Microsoft.Build.Utilities usings plus redundant self-namespace import.
src/Xamarin.Android.Build.Tasks/Tasks/CreateDynamicFeatureManifest.cs Drops unused System.* and Microsoft.Build.Utilities usings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix-finder] Remove unused using directives in CheckForInvalidResourceFileNames.cs and CreateDynamicFeatureManifest.cs

3 participants