[wasm][debugger] Add support for Nullable<T> (#41559)
authorAnkit Jain <radical@gmail.com>
Sat, 5 Sep 2020 02:08:55 +0000 (22:08 -0400)
committerGitHub <noreply@github.com>
Sat, 5 Sep 2020 02:08:55 +0000 (22:08 -0400)
commit66f4b4b70412da19f1785f57d7ae349febb0cd99
treef3ae0613a395be01b9d43a8b95b81fe2d049b4b0
parentb6e607d918cec5cc2a6965a35c23013ccc38a907
[wasm][debugger] Add support for Nullable<T>  (#41559)

* [wasm][debugger] Add support for Nullable<T>

Return the value, or null.

Fixes https://github.com/mono/mono/issues/20310

* Address review feedback - merge functions

* [wasm][debugger] run dotnet-format on the debugger test app

* [wasm][debugger] simplify function sig, based on usage

- addresses review feedback from @lewing

* [wasm][debugger] Simplify the function further, based on @lewing's

.. excellent suggestion!
src/mono/mono/mini/mini-wasm-debugger.c
src/mono/wasm/debugger/DebuggerTestSuite/Tests.cs
src/mono/wasm/debugger/tests/debugger-get-properties-test.cs
src/mono/wasm/debugger/tests/debugger-nullable-test.cs [new file with mode: 0644]
src/mono/wasm/debugger/tests/debugger-test.cs