Skip to content

Add project file and modernize code #10975

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 4 commits into from
Feb 20, 2025
Merged

Conversation

gewarren
Copy link
Contributor

Created this PR to allow #10967 to pass status checks.

(Hide whitespace changes.)

@gewarren gewarren requested a review from a team as a code owner February 18, 2025 23:45
@ghost ghost added the area-Infrastructure label Feb 18, 2025
@gewarren gewarren requested a review from BillWagner February 18, 2025 23:46
@gewarren gewarren enabled auto-merge (squash) February 18, 2025 23:46

This comment was marked as outdated.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This is great. I had a lot of small suggestions that would do more modernization to the code, if you want.

Comment on lines +9 to +10
Page current = pages.CurrentPage;
if (current != null)
Copy link
Member

Choose a reason for hiding this comment

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

Something here seems off if nullable references are enabled. Either current should be a Page? or the null check isn't needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have now explicitly disabled nullable context for the purpose of the examples. Can you review my most recent commit, especially the note I added to the NRE examples in the .xml file?

This comment was marked as outdated.

@gewarren gewarren requested a review from BillWagner February 19, 2025 19:53

This comment was marked as outdated.

Copy link

@gewarren gewarren merged commit bf22adb into dotnet:main Feb 20, 2025
4 checks passed
@gewarren gewarren deleted the nre-project-file branch February 20, 2025 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants