Repository navigation
intercept and track the platform not supported exceptions - #498
Conversation
| internal static class Platform | ||
| { | ||
| private static bool? _isWasm; | ||
| public static bool IsWasm |
There was a problem hiding this comment.
Maybe call this something like IsConsoleRedirectionSupported or something? This isn't definitive proof that we're running under WASM, although I'm not aware of other cases where this would happen.
There was a problem hiding this comment.
kind of agree but note that the not supported operation ahs nothing to do with redirection per se, that seems to be support, is to call IsOutputRedirected, or IsErrorRedirected or IsInputRedirected that is not supported.
|
@colombod @jonsequitur I think during the rename from
The code as it is works as expected, but any other person using this I'm not sure I should raise it as a separate issue, so I'm commenting here. |
|
Nice catch! Please open a separate issue for this. |
trying to address #497
The issue so far manifests only on mono when compiled with following symbols
see for more details