Skip to content

Remove Critical/Unsecure property/method proxies and CAS-related code #10701

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

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Apr 3, 2025

Description

Slowly coming to an end, but an additional batch of CAS-related obsolete / dead code, this time the "Critical" and "Unsecure" proxies and demand methods that do nothing these days. That includes all bunch of security notes and other comments.

It is mostly scoped commit by commit to make the review as smooth as possible besides CriticalFromVisual where the fixer wasn't kind to me and I've noticed way too late, so hopefully all issues are fixed in the latest commut.

Code that I've removed in previous PRs already is untouched (though it ain't extra nice to keep hitting the same code 6 months later, not gonna lie). But after all these things are merged, it should be clean finally. Maybe 1 exception string.

Customer Impact

Cleaner codebase for developers, a bit of perf in some cases.

Regression

No.

Testing

Local build, sample app run.

Risk

Should be low, it is mostly just renames and some removals/code moves.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners April 3, 2025 23:24
@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 Apr 3, 2025
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

Attention: Patch coverage is 4.64396% with 308 lines in your changes missing coverage. Please review.

Project coverage is 11.06411%. Comparing base (2ded801) to head (fe51e42).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10701         +/-   ##
===================================================
+ Coverage   10.95887%   11.06411%   +0.10524%     
===================================================
  Files           3310        3310                 
  Lines         664667      664464        -203     
  Branches       74667       74653         -14     
===================================================
+ Hits           72840       73517        +677     
+ Misses        590685      589809        -876     
+ Partials        1142        1138          -4     
Flag Coverage Δ
Debug 11.06411% <4.64396%> (+0.10524%) ⬆️

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

1 participant