diff options
author | Eric Erhardt <eric.erhardt@microsoft.com> | 2016-01-20 15:19:23 -0800 |
---|---|---|
committer | Eric Erhardt <eric.erhardt@microsoft.com> | 2016-01-20 15:19:23 -0800 |
commit | bb9ce3fa6e5ea359e69d4b418d0e2c1636442c4d (patch) | |
tree | bb7ccbfbd38d48d0d057b520850d1643fd552a42 /src/mscorlib | |
parent | 1097f6d1938a7c647922e3d2a398ab11df5b105f (diff) | |
download | coreclr-bb9ce3fa6e5ea359e69d4b418d0e2c1636442c4d.tar.gz coreclr-bb9ce3fa6e5ea359e69d4b418d0e2c1636442c4d.tar.bz2 coreclr-bb9ce3fa6e5ea359e69d4b418d0e2c1636442c4d.zip |
Legacy SelfTest/SelfHost tests are currently calling CreateAdjustmentRule using reflection. When changes were made to no longer have an upstream caller of this method, the tests started failing because BclWriter was removing the method from mscorlib.
To fix the tests, and in case other external callers are invoking this method using reflection, add this member to model.xml to ensure BclWriter leaves it in mscorlib.
This fixes devdiv bug https://devdiv.visualstudio.com/web/wi.aspx?pcguid=011b8bdf-6d56-4f87-be0d-0092136884d9&id=132217
[tfs-changeset: 1566848]
Diffstat (limited to 'src/mscorlib')
-rw-r--r-- | src/mscorlib/model.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mscorlib/model.xml b/src/mscorlib/model.xml index 535c16c4d1..1628cc24fa 100644 --- a/src/mscorlib/model.xml +++ b/src/mscorlib/model.xml @@ -8153,6 +8153,12 @@ <Member MemberType="Property" Name="Local" /> <Member MemberType="Property" Name="Utc" /> </Type> + <Type Status="ApiFxInternal" Name="System.TimeZoneInfo+AdjustmentRule"> + <!-- CreateAdjustmentRule doesn't have a public contract, but tests and other callers can use Reflection to invoke it, so ensure it is left in mscorlib. --> + <Member Status="ApiRoot" Name="CreateAdjustmentRule(System.DateTime,System.DateTime,System.TimeSpan,System.TimeZoneInfo+TransitionTime,System.TimeZoneInfo+TransitionTime)" /> + </Type> + <Type Status="ApiFxInternal" Name="System.TimeZoneInfo+TransitionTime"> + </Type> <Type Name="System.Tuple"> <Member Name="Create<T1>(T1)" /> <Member Name="Create<T1,T2>(T1,T2)" /> |