Skip to content
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

C# 10 - Migrate to targeted new #244

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stoiveyp
Copy link
Contributor

@stoiveyp stoiveyp commented Jan 30, 2022

Resolves #242
Updates language version to 10
Updates object creation to targeted new() syntax.

Mostly newing up List and Dictionary properties, or object setup in constructors. Because of this don't think any of them lose readability with the new syntax.

Haven't changed test project code while migrating, but did bump it to 6.0 so it's a single SDK required

@stale
Copy link

stale bot commented Mar 31, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 31, 2022
shouls stop analysis being blocked by 5.0 limitation
@stale stale bot removed the wontfix label Apr 3, 2022
This was referenced Apr 7, 2022
@timheuer timheuer added the pinned label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new() where appropriate
2 participants