Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LambdaExpression.CanCompileToIL should respect IsDynamicCodeSupported #80759

Merged
merged 2 commits into from
Jan 19, 2023

Commits on Jan 18, 2023

  1. LambdaExpression.CanCompileToIL should respect IsDynamicCodeSupported

    With the new feature switch added in dotnet#39806, calling LambdaExpression.Compile is throwing a PlatformNotSupportedException. Instead, LambdaExpression should respect IsDynamicCodeSupported and switch to using the interpreter when IsDynamicCodeSupported is false.
    eerhardt committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    6cf354a View commit details
    Browse the repository at this point in the history
  2. Add tests

    eerhardt committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    807d807 View commit details
    Browse the repository at this point in the history