Skip to content

Fix underlying bug in Named Pipes preventing setting ReadMode after creation #98060

Closed

Description

@carlossanlop

Follow up of the discussion in this API proposal (please read it for context): #83072

We need to match the behavior of both .NET Framework and Linux. Porting the constructor is not the only answer or even the best answer.

The alternatives are:

Fix the bug in the existing APIs

This is the ideal scenario and the most straightforward, and the one this issue intends to address.

Merge assemblies

Additional separate scenario.

We originally created all the System.*.AccessControl assemblies because we didn't want to mix OS-specific APIs. But we now have the SupportedOSPlatform attribute, which allows having OS-specific APIs in the same assembly. In other words, we could merge the AccessControl assemblies with the base assembly they were extending.

Port all the missing constructors

Additional separate scenario.

No point in porting only one missing .NET Framework constructor that we didn't add to .NET Core+. If we are doing the effort for one, let's just do the same for all.

Activity

  1. added
    untriaged
    on Feb 6, 2024
  2. ericstj commented on Feb 6, 2024

    @ericstj
    Member

    I don't think we need this. I've clarified the API request. I'll give that one more attempt at getting approved.

  3. ghost removed
    untriaged
    on Feb 6, 2024
  4. locked and limited conversation to collaborators on Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions