Skip to content

Conversation

@Sergio0694
Copy link
Member

Closes #1434

Overview

This PR includes the following changes:

  • Adds a new FeatureSwitches class and the necessary infrastructure for custom feature switches
  • Adds a new CsWinRTEnableDynamicObjectsSupport feature switch to disable support for dynamic objects
  • Wires up the feature switches in the projections setup

@Sergio0694
Copy link
Member Author

Saves about 19 KB on .NET 8:

image

@Sergio0694 Sergio0694 merged commit 3b2c34a into staging/AOT Jan 17, 2024
@Sergio0694 Sergio0694 deleted the user/sergiopedri/feature-switches branch January 17, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FindTypeByName always roots ExpandoObject (and is also undefined behavior)

4 participants