-
Notifications
You must be signed in to change notification settings - Fork 70
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
Doing some cleanup of all the Warnings that litter the build #180
Conversation
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!
af176ff
to
43e25ef
Compare
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.
3063bf9
to
8caba5e
Compare
…CS8622 -- Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).
8caba5e
to
e025d7c
Compare
…CS8622 -- Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).
3bbdd40
to
ca23a69
Compare
…plaining about it.
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 |
…- Argument cannot be used for parameter due to differences in the nullability of reference types.
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. |
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. |
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.