Skip to content

Use caching ConsoleStream for both iOS and Android - #58967

Merged
steveisok merged 2 commits into
dotnet:mainfrom
steveisok:droid-console-write
Sep 14, 2021
Merged

Use caching ConsoleStream for both iOS and Android#58967
steveisok merged 2 commits into
dotnet:mainfrom
steveisok:droid-console-write

Conversation

@steveisok

Copy link
Copy Markdown
Member

Expands on #56713 by moving the caching implementation to a separate internal class and leaving only the interop calls in ConsolePal.iOS and ConsolePal.Android.

Fixes#57304

Expands on dotnet#56713 by moving the caching implementation to a separate internal class leaving only the interop calls in ConsolePal.iOS and ConsolePal.Android
Fixesdotnet#57304
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/area-system-console
See info in area-owners.md if you want to be subscribed.

Issue Details

Expands on #56713 by moving the caching implementation to a separate internal class and leaving only the interop calls in ConsolePal.iOS and ConsolePal.Android.

Fixes #57304

Author:steveisok
Assignees:-
Labels:

area-System.Console

Milestone:-

Comment threadsrc/libraries/System.Console/src/System/IO/CachedConsoleStream.cs Outdated
Comment threadsrc/libraries/System.Console/src/System/ConsolePal.Android.cs Outdated
@steveisok

Copy link
Copy Markdown
MemberAuthor

Failures are unrelated. Timing out most likely due to https://github.com/dotnet/core-eng/issues/14346

@steveisok
steveisok merged commit edeb905 into dotnet:mainSep 14, 2021
@steveisok

Copy link
Copy Markdown
MemberAuthor

/backport to release/6.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1233898126

@ghostghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android + Console.WriteLine + format strings = possible unexpected extra newlines

3 participants

@steveisok@marek-safar@filipnavara