Update linker config following Mono upgrade to f382b069151
This commit is contained in:
parent
e0168eb0c8
commit
f483e6293e
|
|
@ -1,4 +1,4 @@
|
|||
<linker>
|
||||
<linker>
|
||||
|
||||
<!-- This file specifies which parts of the BCL or Blazor packages must not be stripped
|
||||
by the IL linker even if they are not referenced by user code. The file format is
|
||||
|
|
@ -8,6 +8,20 @@
|
|||
<!-- 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" />
|
||||
|
||||
<!-- 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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue