Skip to content

Annotate System.Net.WebSockets.WebSocketProtocol for nullable reference types #37593

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 2 commits into from
Jun 9, 2020

Conversation

stephentoub
Copy link
Member

This also helped find that the annotation of WebSocketReceiveResult(..., string? closeDescription) was wrong in the ref (it was correct in the src), so I fixed that.
Contributes to #2339
cc: @buyaa-n, @davidsh

…ce types

This also helped find that the annotation of WebSocketReceiveResult(..., string closeDescription) was wrong in the ref (it was correct in the src), so I fixed that.
@ghost
Copy link

ghost commented Jun 8, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@davidsh davidsh added this to the 5.0 milestone Jun 8, 2020
Copy link
Contributor

@davidsh davidsh left a comment

Choose a reason for hiding this comment

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

LGTM. But there are still some nullable-related build errors.

Copy link
Contributor

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

Left one NIT, overall looks good thanks!

JFYI: build failures on src\libraries\Common\src\System\Net\WebSockets\ManagedWebSocket.cs because Debug.Assert(...) not suppressing nullable warnings now

@stephentoub stephentoub merged commit 0052684 into dotnet:master Jun 9, 2020
@stephentoub stephentoub deleted the nullablewsp branch June 9, 2020 00:07
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants