[wasm] reduce legacy interop usage (#72021)
authorPavel Savara <pavel.savara@gmail.com>
Thu, 28 Jul 2022 20:33:04 +0000 (22:33 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Jul 2022 20:33:04 +0000 (22:33 +0200)
commitd7c8bc10ac00fe330daa633f8a2b16ba208e6e56
tree8f7a73d013f6477766e40b194df19767fd11f13e
parent07ebba11fd027aa75f8090052cd4ae232fa31c57
[wasm] reduce legacy interop usage (#72021)
51 files changed:
src/libraries/Common/src/Interop/Browser/Interop.Runtime.cs
src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/JavaScriptTests.cs
src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/MarshalTests.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System.Runtime.InteropServices.JavaScript.csproj
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Interop/LegacyExports.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSFunctionBinding.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSHostImplementation.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Legacy/Runtime.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Byte.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Double.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Exception.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Func.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Int32.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.JSObject.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Object.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Task.cs
src/libraries/System.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/JSImportExportTest.cs
src/libraries/System.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/JavaScriptTestHelper.cs
src/mono/sample/wasm/browser-profile/README.md
src/mono/wasm/runtime/buffers.ts [deleted file]
src/mono/wasm/runtime/cjs/dotnet.cjs.lib.js [new file with mode: 0644]
src/mono/wasm/runtime/corebindings.c
src/mono/wasm/runtime/corebindings.ts [deleted file]
src/mono/wasm/runtime/cwraps.ts
src/mono/wasm/runtime/dotnet.d.ts
src/mono/wasm/runtime/es6/dotnet.es6.lib.js
src/mono/wasm/runtime/export-types.ts
src/mono/wasm/runtime/exports-internal.ts [new file with mode: 0644]
src/mono/wasm/runtime/exports-linker.ts [new file with mode: 0644]
src/mono/wasm/runtime/exports.ts
src/mono/wasm/runtime/gc-handles.ts
src/mono/wasm/runtime/imports.ts
src/mono/wasm/runtime/invoke-cs.ts
src/mono/wasm/runtime/invoke-js.ts
src/mono/wasm/runtime/managed-exports.ts [new file with mode: 0644]
src/mono/wasm/runtime/marshal-to-cs.ts
src/mono/wasm/runtime/marshal-to-js.ts
src/mono/wasm/runtime/marshal.ts
src/mono/wasm/runtime/memory.ts
src/mono/wasm/runtime/net6-legacy/buffers.ts [new file with mode: 0644]
src/mono/wasm/runtime/net6-legacy/corebindings.ts [new file with mode: 0644]
src/mono/wasm/runtime/net6-legacy/cs-to-js.ts [moved from src/mono/wasm/runtime/cs-to-js.ts with 77% similarity]
src/mono/wasm/runtime/net6-legacy/exports-legacy.ts [new file with mode: 0644]
src/mono/wasm/runtime/net6-legacy/js-to-cs.ts [moved from src/mono/wasm/runtime/js-to-cs.ts with 80% similarity]
src/mono/wasm/runtime/net6-legacy/method-binding.ts [moved from src/mono/wasm/runtime/method-binding.ts with 83% similarity]
src/mono/wasm/runtime/net6-legacy/method-calls.ts [moved from src/mono/wasm/runtime/method-calls.ts with 52% similarity]
src/mono/wasm/runtime/run.ts
src/mono/wasm/runtime/startup.ts
src/mono/wasm/runtime/types.ts
src/mono/wasm/test-main.js