Skip to content

Commit

Permalink
[browser][wasm] Find the correct CoreLib (dotnet#37644)
Browse files Browse the repository at this point in the history
Need to load `System.Private.Corlib`

closes: dotnet#37636
  • Loading branch information
kjpou1 authored Jun 9, 2020
1 parent 8558ca7 commit 2c3cd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/runtime/binding_support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2c3cd0d

Please sign in to comment.