[wasm] MonoProxy.cs: Avoid some errors by pre-emptively checking (#67243)
authorAnkit Jain <radical@gmail.com>
Mon, 28 Mar 2022 19:51:01 +0000 (15:51 -0400)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 19:51:01 +0000 (15:51 -0400)
commit819b654e92513aee40966785fdfa242c8c7d49a4
tree532f7dc656000fb214f235c86ea6d15b37fc6a9f
parentd69bd061182e00acbfca69c68ceeb795fec696e2
[wasm] MonoProxy.cs: Avoid some errors by pre-emptively checking (#67243)

.. inspired by https://github.com/dotnet/runtime/issues/66149 .
src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs