Skip to content

[StyleCleanUp] Fix misplaced using directives in CSP (IDE0065) #10683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Mar 31, 2025

Fixes #10682

Description

This fixes using placements in CSP which I've overlooked when I've removed it in #10374 as we still don't run MilCodeGen during build, hence this fixes that + also corrects the header for IDE0073 for generated files from the last commit.

Customer Impact

Cleaner codebase for developers, being able to run MilCodeGen.

Regression

Kinda, MilCodeGen won't work without suppressing warnings now.

Testing

Local build, codegen run.

Risk

None.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners March 31, 2025 10:38
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Mar 31, 2025
Copy link

codecov bot commented Mar 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.25779%. Comparing base (4aff730) to head (79b2fc8).
Report is 27 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10683         +/-   ##
===================================================
- Coverage   11.28308%   11.25779%   -0.02530%     
===================================================
  Files           3353        3353                 
  Lines         668062      668062                 
  Branches       74980       74980                 
===================================================
- Hits           75378       75209        -169     
- Misses        591433      591606        +173     
+ Partials        1251        1247          -4     
Flag Coverage Δ
Debug 11.25779% <ø> (-0.02530%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@siagupta0202 siagupta0202 merged commit 08af53e into dotnet:main Apr 4, 2025
8 checks passed
@siagupta0202
Copy link
Contributor

@h3xds1nz Thank you for your contribution!

@h3xds1nz
Copy link
Member Author

h3xds1nz commented Apr 4, 2025

@siagupta0202 Thank you for approving :)

@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDE0065: 'using' directive placement
3 participants