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
while working on a project/lib and tried to make it reflection free I noticed that Marshal.PtrToStructure actually throws "Reflection_Disabled" due to it's usage of Activator.CreateInstance. Marshal.StructureToPtr works fine though.
That makes functions like NetworkInterface.GetAllNetworkInterfaces that result in SystemNetworkInterface.GetNetworkInterfaces calls unusable in reflection free mode.
Are there any plans to fix that or any (safe) alternatives?