Skip to content

Fix formatting in a few tests - #120120

Merged
sbomer merged 2 commits into
dotnet:mainfrom
sbomer:fixFormat
Nov 18, 2025
Merged

Fix formatting in a few tests#120120
sbomer merged 2 commits into
dotnet:mainfrom
sbomer:fixFormat

Conversation

@sbomer

@sbomer sbomer commented Sep 25, 2025

Copy link
Copy Markdown
Member

Fixes a few left-over formatting problems I noticed in #120005

@sbomer
sbomer requested a review from a team September 25, 2025 22:35
@sbomer
sbomer requested a review from marek-safar as a code owner September 25, 2025 22:35
Copilot AI review requested due to automatic review settings September 25, 2025 22:35
@github-actions github-actions Bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Sep 25, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes formatting issues in test files by reordering using statements to follow alphabetical ordering conventions and adjusting code formatting to match project standards.

  • Reorders using statements alphabetically in multiple test files
  • Fixes indentation and brace placement for class declarations
  • Corrects a syntax error in an attribute parameter

Reviewed Changes

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

Show a summary per file
File Description
src/tools/illink/test/Trimming.Tests.Shared/AssemblyChecker.cs Reorders using statements alphabetically
src/tools/illink/test/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs Reorders using statements alphabetically
src/tools/illink/test/Mono.Linker.Tests/TestCasesRunner/ResultChecker.cs Reorders using statements alphabetically
src/tools/illink/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnAttribute.cs Fixes syntax error in attribute parameter
src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/VirtualMethodHierarchyDataflowAnnotationValidation.cs Improves class declaration formatting with proper brace placement
src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/DependencyInjectionPattern.cs Reorders using statements alphabetically

@dotnet-policy-service dotnet-policy-service Bot added the linkable-framework Issues associated with delivering a linker friendly framework label Sep 25, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/illink
See info in area-owners.md if you want to be subscribed.

…ty/RequiresOnAttribute.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sbomer

sbomer commented Nov 17, 2025

Copy link
Copy Markdown
Member Author

@jtschuster PTAL when you get a chance.

@jtschuster jtschuster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay!

@sbomer
sbomer merged commit 57a83de into dotnet:main Nov 18, 2025
78 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 18, 2025
@sbomer
sbomer deleted the fixFormat branch June 26, 2026 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants