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
{{ message }}
Repository navigation
Cannot box a ByRef-like (ref struct) when using a CreateDelegate method on method that accepts a ByRef-like parameter. #72548
changed the title [-]Cannot box a ByRef-like (ref struct) when using a CreateDelegate method on method that accepts a ByRef-like parmater.[/-][+]Cannot box a ByRef-like (ref struct) when using a CreateDelegate method on method that accepts a ByRef-like parameter.[/+]on Jul 13, 2021
Related to dotnet/runtimelab#265. We block reflection invoke on everything byref-like. Unfortunately it includes reflection-creating a delegate, which is not a fundamental problem. We probably need to generate entries for this in the AOT compiler and filter them out elsewhere.
Activity
[-]Cannot box a ByRef-like (ref struct) when using a CreateDelegate method on method that accepts a ByRef-like parmater.[/-][+]Cannot box a ByRef-like (ref struct) when using a CreateDelegate method on method that accepts a ByRef-like parameter.[/+]MichalStrehovsky commentedon Jul 13, 2021
Related to dotnet/runtimelab#265. We block reflection invoke on everything byref-like. Unfortunately it includes reflection-creating a delegate, which is not a fundamental problem. We probably need to generate entries for this in the AOT compiler and filter them out elsewhere.
Delete DelegateInvokeThunk
Delete DelegateInvokeThunk (#72903)
[NativeAOT] Reflection Invoke refactoring
[NativeAOT] Reflection Invoke refactoring (#73131)