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

Doing some cleanup of all the Warnings that litter the build #180

Conversation

Stelzi79
Copy link
Contributor

@Stelzi79 Stelzi79 commented Sep 5, 2023

Doing some cleanup of all the Warnings that litter the build and create TODOs (and Issues) to at least silence all these many many Warnings.

I also fix some small stuff that are very obvious to fix or there are "just" some hints needed for the compiler.

@Stelzi79 Stelzi79 changed the title cleanup: Providers.Twitter/Models/Tweet.cs Doing some cleanup of all the Warnings that litter the build Sep 5, 2023
CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
CS1998: Async method lacks 'await' operators and will run synchronously
…ntries so we tell the compiler that it is that way and doesn't warn us about this possibly being null!
ull in order to test if it is set correctly at all!
@Stelzi79 Stelzi79 force-pushed the Stelzi79/Warnings_cleanup_to_GHIssues branch 2 times, most recently from af176ff to 43e25ef Compare September 5, 2023 16:47
Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
…dia_attachments!

Possibly it is connected with the missing Null annotations in Messages.cs!
This whole assignment makes the compiler 'mad' in several parts with multiple different Warnings.
At a first glance I wasn't clear to me how to fix these warnings!
…ll value when exiting constructor. Consider declaring as nullable.
…must contain a non-null value when exiting constructor. Consider declaring as nullable.
…field must contain a non-null value when exiting constructor. Consider declaring as nullable.
… must contain a non-null value when exiting constructor. Consider declaring as nullable.
@Stelzi79 Stelzi79 force-pushed the Stelzi79/Warnings_cleanup_to_GHIssues branch from 3063bf9 to 8caba5e Compare September 5, 2023 18:55
…CS8622 -- Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).
@Stelzi79 Stelzi79 force-pushed the Stelzi79/Warnings_cleanup_to_GHIssues branch from 8caba5e to e025d7c Compare September 5, 2023 18:56
@Stelzi79 Stelzi79 force-pushed the Stelzi79/Warnings_cleanup_to_GHIssues branch from 3bbdd40 to ca23a69 Compare September 5, 2023 19:36
@csharpfritz
Copy link
Contributor

The local runner is not staying connected to GitHub. I've switched back to the ubuntu-latest running in dotnet.yml and recommend you do the same

@Stelzi79
Copy link
Contributor Author

Stelzi79 commented Sep 6, 2023

I should follow more often my own advice ... 🤔 This PR is getting way to big and issues from Rebase creeps in.

I will break this PR down in smaller chunks and open separate PRs for them.

@Stelzi79
Copy link
Contributor Author

Stelzi79 commented Sep 6, 2023

I have now splitt out all the commits that make sense for now. I will open additional PRs when the time allows it to me.

@Stelzi79 Stelzi79 closed this Sep 6, 2023
@Stelzi79 Stelzi79 deleted the Stelzi79/Warnings_cleanup_to_GHIssues branch September 12, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants