Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Voorhees <michaelv@unity3d.com>2019-02-09 00:05:58 +0300
committerMarek Safar <marek.safar@gmail.com>2019-02-15 01:48:03 +0300
commite64148792193bf7d706428a64632ebf7f8023d3b (patch)
treeaed858919bc7ceca1117337b22323fbc564fe89f /test/Mono.Linker.Tests.Cases/Reflection/ConstructorUsedViaReflection.cs
parent6b87e44f8534486e46f272cfecb3048424acd676 (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.Cases/Reflection/ConstructorUsedViaReflection.cs')
0 files changed, 0 insertions, 0 deletions