Skip to content

Conversation

@carlossanlop
Copy link
Contributor

The CA1835 Roslyn analyzer/fixer has been merged to dotnet/roslyn-analyzers and now the rule needs to be applied in dotnet/runtime.

Prefer Memory overloads for Stream.Read/WriteAsync #33790

Copy link
Member

@GrabYourPitchforks GrabYourPitchforks left a comment

Choose a reason for hiding this comment

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

Thanks!

@carlossanlop
Copy link
Contributor Author

The unit tests for XmlUtf8RawTextWriterAsync are failing. I'm investigating.

- Prefer the Stream.ReadAsync and Stream.WriteAsync memory overloads. - Unit test fix suggested by buyaa-n to adjust the usage of these overloads.
@carlossanlop
Copy link
Contributor Author

@buyaa-n the unit tests passed with your suggested additions. Thanks for your help. I'll merge this now.

@carlossanlop carlossanlop merged commit 14094d2 into dotnet:master May 12, 2020
@carlossanlop carlossanlop deleted the RoslynStreamAsync branch May 12, 2020 18:36
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

6 participants