Skip to content

BrotliStream ReadByte/WriteByte are not in the ref file #46712

@carlossanlop

Description

@carlossanlop

I discovered today that the methods BrotliStream.ReadByte and BrotliStream.WriteByte have an override implementation in source, but they are not declared in the ref file.

One consequence of this is that these two APIs do not show up in MS Docs because they are not being part of the ref assemblies we feed in to the Docs system.

Another consequence is that when the user tries to use intellisense to autocomplete ReadByte, the API that shows up in the dialog is the one that belongs to Stream, showing documentation we have for that API.

Fortunately, a quick test reveals that we do end up calling the hidden BrotliStream.ReadByte overriden method.

The two methods were added in this PR, which did not include them to the ref file.

@stephentoub Was there a reason for not adding them to the ref file or was it just an oversight?
@ericstj If we add them today to the ref file, are there any negative consequences we should anticipate?

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