You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reflection does not reliably discover static properties on static classes in wasm. Type.GetProperty, for instance, only seems to be able to find a property if that property is referenced explicitly somewhere in code.
Expected behavior
Reflection should work as it does in UWP environment.
How to reproduce it (as minimally and precisely as possible)
In wasm this attempts to read all properties from a static class, but returns none. Another reflection example using another class works as expected. Reflection in both cases works as expected when in UWP.
This is not a reliability issue, this is related to the use of a linker. You can use the linker settings file to control this behavior. Also, UWP has the same issue when .NET Native is used.
Activity
jeromelaban commentedon Jun 14, 2019
This is not a reliability issue, this is related to the use of a linker. You can use the linker settings file to control this behavior. Also, UWP has the same issue when .NET Native is used.
peternary commentedon Jun 14, 2019
Hey, that did the trick.
Merge pull request #1072 from unoplatform/dev/dr/skiaPointers
Merge pull request #1072 from unoplatform/dev/dr/skiaPointers
Merge pull request #1072 from unoplatform/dev/dr/skiaPointers
Merge pull request unoplatform#1072 from Youssef1313/disable-fuzzy