Skip to content

[NativeAOT] Refactor System.Linq.Expressions private feature switches #89171

Description

@ivanpovazan

Based on the comments:

Private feature switches:

  • CanCompileToIL and
  • CanCreateArbitraryDelegates

are not needed anymore as they got replaced by IsDynamicCodeSupported

Additionally:

  • CanEmitObjectArrayDelegate

should be set in RuntimeHostConfigurationOption by build integration targets, instead of explicitly passing the switch to ILC, so other tools (ILLink) can also understand the desired trimming configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions