-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Added Write/WriteLine ReadOnlySpan/ReadOnlyMemory overrides to HttpResponseStreamWriter #18451
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
Added Write/WriteLine ReadOnlySpan/ReadOnlyMemory overrides to HttpResponseStreamWriter #18451
Conversation
Also linking #16740 as it's the main reason to fix this behavior. TL;DR is that by not overriding async methods TextWriter methods, we hit an exception with synchronous operations being disallowed. |
Also linking #16740 as it's the main reason to fix this behavior. TL;DR is that by not overriding async methods TextWriter methods, we hit an exception with synchronous operations being disallowed. |
Co-Authored-By: Justin Kotalik <[email protected]>
Because these are overrides, we don't need to do an API approval process. |
Great job as always @alefranz . Thanks! |
Thank you, @jkotalik ! 😳 |
Fixes #2895
Based on #18445. Will rebase and mark ready for review once that one is merged.