Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

StreamWriter(Stream, Encoding, Int32, Boolean) does not throw for null Encoding on all runtimes #10273

Copy link
Copy link
Open
@paulomorgado

Description

@paulomorgado
Issue body actions

Type of issue

Outdated article

Description

StreamWriter(Stream, Encoding, Int32, Boolean) does not throw for null Encoding on .NET 6.0, .NET 8.0 and .NET 9.0-preview.7.

It seems to only throw on .NET Framework.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.streamwriter.-ctor?view=net-9.0#system-io-streamwriter-ctor(system-io-stream-system-text-encoding-system-int32-system-boolean)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/StreamWriter.xml

Document Version Independent Id

ba32d206-d8f5-fd4d-939b-16d19e9b10ac

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.IOuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.