Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Add missing readonly modifiers #1508

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

terrajobst
Copy link
Member

I've recently updated the reference assembly generation tool to the latest C# version. This exposed a bug where .NET Standard didn't include readonly modifiers that .NET Core added in 3.0. For the affected APIs these wouldn't cause correctness issues, but it would result in superfluous defensive copies, which, given the size of some of these structs, could result in reduced performance.

/cc @stephentoub @tannergooding

@terrajobst terrajobst added the netstandard-api This tracks requests for standardizing APIs. label Sep 6, 2019
@terrajobst terrajobst requested review from a team as code owners September 6, 2019 03:02
@terrajobst terrajobst added the bug label Sep 6, 2019
@terrajobst terrajobst merged commit 54b9828 into dotnet:master Sep 6, 2019
@terrajobst terrajobst deleted the missing-read-only branch September 6, 2019 23:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug netstandard-api This tracks requests for standardizing APIs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants