Legacy SelfTest/SelfHost tests are currently calling CreateAdjustmentRule using refle...
authorEric Erhardt <eric.erhardt@microsoft.com>
Wed, 20 Jan 2016 23:19:23 +0000 (15:19 -0800)
committerEric Erhardt <eric.erhardt@microsoft.com>
Wed, 20 Jan 2016 23:19:23 +0000 (15:19 -0800)
commitbb9ce3fa6e5ea359e69d4b418d0e2c1636442c4d
treebb7ccbfbd38d48d0d057b520850d1643fd552a42
parent1097f6d1938a7c647922e3d2a398ab11df5b105f
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]
src/mscorlib/model.xml