Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[corlib] Ensure that Console Streams are thread-safe
The Console class wraps the standard system stream reader/writers on construction so as to expose them as thread-safe. However, the Set-Out/In/Err methods in referencesource do not do the same when they replace default targets. CoreFX code does: https://github.com/mono/corefx/blob/1748f6492e8b96842f76e1a9e7b5d7e8ccfca480/src/System.Console/src/System/Console.cs\#L412-L444 Possible fix for #11146
- Loading branch information