Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

@ghost ghost assigned stephentoub Jul 1, 2022
@ghost ghost added the area-Meta label Jul 1, 2022
@ghost
Copy link

ghost commented Jul 1, 2022

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: stephentoub
Assignees: stephentoub
Labels:

area-Meta

Milestone: -

{
throw new ObjectDisposedException(nameof(SslStream));
}
ObjectDisposedException.ThrowIf(ReferenceEquals(e, s_disposedSentinel), this);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
ObjectDisposedException.ThrowIf(ReferenceEquals(e, s_disposedSentinel), this);
ObjectDisposedException.ThrowIf(ReferenceEquals(e, s_disposedSentinel), typeof(SslStream));

Would let the local function return to being static.

@stephentoub stephentoub merged commit 9768606 into dotnet:main Jul 7, 2022
@stephentoub stephentoub deleted the morethrowif branch July 7, 2022 12:55
@ghost ghost locked as resolved and limited conversation to collaborators Aug 6, 2022
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.

3 participants