From 2c3cd0d3c7aafb01c766823b0c4ed0573757080a Mon Sep 17 00:00:00 2001 From: Kenneth Pouncey Date: Tue, 9 Jun 2020 16:26:05 +0200 Subject: [PATCH] [browser][wasm] Find the correct CoreLib (#37644) Need to load `System.Private.Corlib` closes: https://github.com/dotnet/runtime/issues/37636 --- src/mono/wasm/runtime/binding_support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/runtime/binding_support.js b/src/mono/wasm/runtime/binding_support.js index d39676f73eee6..c1b4fa1019af5 100644 --- a/src/mono/wasm/runtime/binding_support.js +++ b/src/mono/wasm/runtime/binding_support.js @@ -713,7 +713,7 @@ var BindingSupportLib = { if (!this.delegate_dynamic_invoke) { if (!this.corlib) - this.corlib = this.assembly_load ("mscorlib"); + this.corlib = this.assembly_load ("System.Private.CoreLib"); if (!this.delegate_class) this.delegate_class = this.find_class (this.corlib, "System", "Delegate"); if (!this.delegate_class)