diff options
author | Michael Voorhees <michaelv@unity3d.com> | 2019-02-09 00:05:58 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-02-15 01:48:03 +0300 |
commit | e64148792193bf7d706428a64632ebf7f8023d3b (patch) | |
tree | aed858919bc7ceca1117337b22323fbc564fe89f /test/Mono.Linker.Tests | |
parent | 6b87e44f8534486e46f272cfecb3048424acd676 (diff) |
Fix an invalid IL bug with interface sweeping
If a type can be on the stack then we need to keep the interface implementation on that type even if the type is never instantiated.
I think we can get away with only doing this when the using of the type and the interface are within the same body. Once beyond the body, there won't be invalid IL. Casting is similar, see `ObjectHardCastedToInterface`
Diffstat (limited to 'test/Mono.Linker.Tests')
0 files changed, 0 insertions, 0 deletions