Skip to content

Commit

Permalink
Allow GlobalizationMode.Invariant = false to be substituted by the tr…
Browse files Browse the repository at this point in the history
…immer. (#47999)

This allows a Blazor WASM app to trim unused Invariant code when Invariant mode isn't enabled.
  • Loading branch information
eerhardt authored Feb 9, 2021
1 parent c29727a commit aee6607
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</type>
<type fullname="System.Globalization.GlobalizationMode">
<method signature="System.Boolean get_Invariant()" body="stub" value="true" feature="System.Globalization.Invariant" featurevalue="true" />
<method signature="System.Boolean get_Invariant()" body="stub" value="false" feature="System.Globalization.Invariant" featurevalue="false" />
</type>
<type fullname="System.LocalAppContextSwitches">
<method signature="System.Boolean get_EnableUnsafeUTF7Encoding()" body="stub" value="false" feature="System.Text.Encoding.EnableUnsafeUTF7Encoding" featurevalue="false" />
Expand Down

0 comments on commit aee6607

Please sign in to comment.