-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Nullable annotation fixes #82803
Nullable annotation fixes #82803
Conversation
Once runtime merges to a Roslyn toolset that has the fix for [issue 50782](dotnet/roslyn#50782) these annotations will be necessary. Front loading the work here with this change.
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsOnce runtime merges to a Roslyn toolset that has the fix for issue 50782 these annotations will be necessary. Front loading the work here with this change.
|
Can see the need for these demonstrated with #82615 where I was experimenting with latest compiler from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless the type is necessary to disambiguate, can all of these just be discards without the type name at all?
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/VersionConverter.cs
Outdated
Show resolved
Hide resolved
...ibraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPoolManager.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.cs
Outdated
Show resolved
Hide resolved
...System.Private.DataContractSerialization/src/System/Runtime/Serialization/DataContractSet.cs
Outdated
Show resolved
Hide resolved
...adataLoadContext/src/System/Reflection/TypeLoading/Parameters/Ecma/EcmaFatMethodParameter.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Sure thing. Was just trying to maintain existing style. happy to move to discards. |
`/workspaces/runtime/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs(135,44): error CS8601: Possible null reference assignment` Started being hit with dotnet#82479 . The other instances of this were fixed in dotnet#82803 .
* [wasm] Debugger tests - fix build `/workspaces/runtime/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs(135,44): error CS8601: Possible null reference assignment` Started being hit with #82479 . The other instances of this were fixed in #82803 . * CI: Trigger all the wasm jobs, when roslyn is updated And this includes the debugger tests
Once runtime merges to a Roslyn toolset that has the fix for issue 50782 these annotations will be necessary. Front loading the work here with this change.