Update linker config following update to Mono bfc35fc6e65

This commit is contained in:
Steve Sanderson 2018-08-30 09:38:28 +01:00
parent 0aa7f13008
commit 38b45d82c7
1 changed files with 14 additions and 1 deletions

View File

@ -8,6 +8,19 @@
<!-- Preserve all methods on WasmRuntime, because these are called by JS-side code
to implement timers. Fixes https://github.com/aspnet/Blazor/issues/239 -->
<type fullname="System.Threading.WasmRuntime" />
</assembly>
<!-- Mono redirects certain string constructor calls to CreateString internally, so preserve them -->
<type fullname="System.String">
<method signature="System.String CreateString(System.Char,System.Int32)" />
<method signature="System.String CreateString(System.Char[])" />
<method signature="System.String CreateString(System.Char[],System.Int32,System.Int32)" />
<method signature="System.String CreateString(System.Char*)" />
<method signature="System.String CreateString(System.Char*,System.Int32,System.Int32)" />
<method signature="System.String CreateString(System.Byte*)" />
<method signature="System.String CreateString(System.Byte*,System.Int32,System.Int32)" />
<method signature="System.String CreateString(System.Byte*,System.Int32,System.Int32,System.Text.Encoding)" />
<method signature="System.String CreateString(System.SByte*)" />
<method signature="System.String CreateString(System.SByte*,System.Int32,System.Int32,System.Text.Encoding)" />
</type>
</assembly>
</linker>