[release/8.0] [browser] Remove duplicated marshaling of return value for JSExport...
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 3 Oct 2023 02:35:29 +0000 (19:35 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Oct 2023 02:35:29 +0000 (19:35 -0700)
commit172d79a458e9468e74bba60dc061a5c94aa21eca
tree636bf86480d4a1d3a8bd7ec1572bd633a47e5ebd
parent8632a7572473caeab7c4eb29d2a1b82fc31a1fc1
[release/8.0] [browser] Remove duplicated marshaling of return value for JSExport (#92886)

* Remove duplicated marshaling of return value for JSExport

* Move unmarshal and return value marshal into try block

---------

Co-authored-by: Marek FiĊĦera <mara@neptuo.com>
src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/JSExportCodeGenerator.cs