Fix ReflectionCachesUpdateHandler_CachesCleared test in aggressive trim mode (#72682)
authorEric Erhardt <eric.erhardt@microsoft.com>
Mon, 25 Jul 2022 06:25:38 +0000 (00:25 -0600)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 06:25:38 +0000 (08:25 +0200)
commit7ec430441a333717d3f18ee4a2e4255a248aef46
treeede70a75e7eeb80159987c5ee0cb8a42aa477cc9
parent02ffbcdb785d405e3d4e8457c05ab08f6b745e51
Fix ReflectionCachesUpdateHandler_CachesCleared test in aggressive trim mode (#72682)

The test uses a reflection pattern that isn't recognized by the trimmer. Changing it to use one that is recognized by the trimmer so it doesn't remove the type being tested.

Fix #57456
src/libraries/System.ComponentModel.TypeConverter/tests/ReflectionCachesUpdateHandlerTests.cs