Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CA1859 - Use concrete types when possible for improved performance #80848

Merged
merged 15 commits into from Jan 31, 2023

Conversation

marek-safar
Copy link
Contributor

@ghost ghost assigned marek-safar Jan 19, 2023
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@marek-safar
Copy link
Contributor Author

@stephentoub could you review it?

@@ -223,12 +223,12 @@ private static void CopySections(Stream outStream, Stream inputStream, Immutable
}

#if NETCOREAPP2_1_OR_GREATER
Copy link
Member

Choose a reason for hiding this comment

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

Not related to your PR, but this is a strange choice of a compilation constant... Stream.ReadExactly was added in .NET 7, not .NET Core 2.1.

@marek-safar
Copy link
Contributor Author

Failures are unrelated.

@marek-safar marek-safar merged commit 4b5029c into dotnet:main Jan 31, 2023
@dotnet dotnet locked as resolved and limited conversation to collaborators Mar 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants